HowTo Launch email client with attachment
-
I am using Visual Studio 6.0. I would like to use ShellExecute{} to launch the registered email client and include a specific file as an attachment to that email. I don't want to include the 'To' email address in the ShellExecute() call. From Nishant's excellent article i have a starting point: ShellExecute(this->m_hWnd,"open", "mailto:nishinapp@yahoo.com","","", SW_SHOW ); How do I NOT include the email address but DO include a file for attachment? Thanks a lot, :) Robert
-
I am using Visual Studio 6.0. I would like to use ShellExecute{} to launch the registered email client and include a specific file as an attachment to that email. I don't want to include the 'To' email address in the ShellExecute() call. From Nishant's excellent article i have a starting point: ShellExecute(this->m_hWnd,"open", "mailto:nishinapp@yahoo.com","","", SW_SHOW ); How do I NOT include the email address but DO include a file for attachment? Thanks a lot, :) Robert
I do not think that you can, you may have to use MAPI (look up "Simple MAPI" in MSDN). Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
I do not think that you can, you may have to use MAPI (look up "Simple MAPI" in MSDN). Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)Thanks James. I'm slugging through MSDN - one of my least favorite ways of finding info :-(