Sending emails with Collaboration Data Objects (CDO) and Dexterity


David Meego - Click for blog homepageThis is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.

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

This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.

3 thoughts on “Sending emails with Collaboration Data Objects (CDO) and Dexterity

Please post feedback or comments

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.