MapiMail class by Nigel Coates also allows to show default mail client.
BTW, I tried yesterday this code and it did nothing at my home computer. I'm wondering, why?
>Chris,
>
>I understand the convenience you are looking for. With the other methods, you would need a simple form to allow them to edit the message (in an editbox), and a "Send" commandButton to do the rest of the work.
>
>Is you application expecting Outlook to be the email client? If so, you can use the display() method of the Outlook message (instead of the send()) to show the same screen you are getting with shellExecute. Let us know if you need a code example...
>
>
>>Steve:
>>
>>Whats nice about this SHELLEXECUTE method is that i am not sure what the person wants to send in the email message to another employee. But i "know" the msg will be about a particular project/account. So i just pop up a new email msg item and "pre-fill" it with some info about the accout for reference.
>>
>>I think its SHELLEXECUTE ignoring the linefeeds.
>>
If it's not broken, fix it until it is.
My Blog