Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Email Client with Attachment

Status
Not open for further replies.

Tom4511

Programmer
Oct 28, 2008
16
US
I have a need for code to do one simple thing:

Open the users email client with an attachment.

I'm very familiar with CDO, MAPI, vbSendMail, etc. Those do not universally accomplish the desired goal.

The goal is very much like in Explorer when you choose Send... Email... it opens your email client with the selected file attached.

This needs to work universally, whether your email client is Outlook, Outlook Express, AOL, Eudora, etc., etc. All the solutions I'm familiar with are not universal or are intended to be full blown email clients.

I don't need to have To, CC:, body etc. Actually I can do half of this now with the ShellExecute and "mailto:" option. The stumbling block is the attachment part.

Is anyone aware of code to accomplish this?

Thanks,

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top