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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending an email with an attachment?? 2

Status
Not open for further replies.

nicktherod

Programmer
Nov 10, 2000
19
0
0
CA
Could anyone help me or point me in the right direction.

I want to write some code that will send a txt file by email.
 
One thing to try is the MAPI samples on MSDN:


That link will take you to the list of MSDN MAPI samples. There's one in there called "SimpleMAPI" that will probably be sufficient.

The sample uses some function pointers and other weird stuff, but if you search through the sample code for "MAPISendDocuments", and look this function up on msdn.microsoft.com, you can probably set some breakpoints and figure out what is going on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top