LizardKing
asked on
Sending an email from an VC++ 6 Dialog based MFC program
I am currently writng a program which creates a configuration file e.g config.txt and stores it on a users machine. What I want to do is send this file via email to an email account. I know there is MAPI functions etc. to do this but does anyone know of a simple way to do this other than MAPI
Also I tried using ShellExecute to open the default email as follows
ShellExecute(dlg,NULL,"mai lto:email@ account.co m?subject= Configurat ion File","NULL",NULL,SW_SHOWN ORMAL);
However this only sets the send to: and subject up not the attachment is there a way to attach the file with shellexecute
Any hints or sample code would be great
Thanks
Also I tried using ShellExecute to open the default email as follows
ShellExecute(dlg,NULL,"mai
However this only sets the send to: and subject up not the attachment is there a way to attach the file with shellexecute
Any hints or sample code would be great
Thanks
You mean a way other than MAPI? MAPI is for this....
ASKER
Edited text of question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.