From within your application you can send an email by using MAPI functions ("MAPISendMail"). But if there is another mail client installed like "Thunderbird" or "David InfoCenter" the use of MAPI functions does not work, because "Outlook" or "Outlook Express" is not the standard email client.
The use of shell functions to execute "mailto:" is not satisfying because not all email clients do support command line parameters for mail attachment or mail body.
What can I do instead to get my desired result?