I'm using ShellExec to prepare some e-mail messages. It works fine in Outlook 2000, but not in Outlook Express 6. In Outlook Express, the entire string ends up as the address. That is, if I set:
lcMail = "mailto:bill@bonzo.com" + ;
"&Subject=Tomorrow&Body=See you."
and issue:
ShellExecute(0,"open",lcMail,"","",1)
The message that is created has the following address:
"bill@bonzo.com&Subject=Tomorrow&Body=See you."
and the Subject and Body areas are empty.
In Outlook, it works just fine.
lcMail = "mailto:bill@bonzo.com" + ;
"&Subject=Tomorrow&Body=See you."
and issue:
ShellExecute(0,"open",lcMail,"","",1)
The message that is created has the following address:
"bill@bonzo.com&Subject=Tomorrow&Body=See you."
and the Subject and Body areas are empty.
In Outlook, it works just fine.