Mariano Gomez (The Dynamics GP Blogster) has written a great article on using Collaboration Data Objects (CDO) to send emails.
Dexterity does have the MAPI_ function library but it can only handle a single attachment.
Another method of sending email is to use the COM_ function library to communicate with the Outlook application, which will allow multiple attachments, but does require the workstation to have Outlook installed and a profile configured.
Mariano's method allows you to communicate with a SMTP (Simple Mail Transport Protocol) server directly and bypass the need for an email application on the workstation.
For more information please visit his site: Sending emails with Collaboration Data Objects (CDO) and Dexterity
David
Posting from the Dynamics GP Blogster
http://dynamicsgpblogster.blogspot.com/2009/01/developing-for-dynamics-gp-weekly_24.html
Over the last few months I have been working hard on the next build of the Support Debugging Tool for
PLEASE READ BEFORE POSTING
Please only post comments relating to the topic of this page.
If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.