mailto: and command line

  • Thread starter msnews.microsoft.com.
  • Start date
M

msnews.microsoft.com.

Hi all,

Am trying to send email using the "Mailto:" option from my application. I
call ShellExecute API by passing the file parameter as follows

mailto:[email protected]?Subject=MAIL&Attach='C:\LogFile.Txt'

I tried the application in two similar machines with Outlook2000 SP3 version
installed. It is able to attach the file from one machine but fails to do so
from the other.

I have made sure that the file exists in the same path.I also tried with
different possible combinations of the "Quotes" i.e. Single , double quotes
in the Attach parameter.

Please let me know solution to resolve this issue.

Regards
Murali
 
Top