Tag Archive: email

Apr 21 2008

Get the Body of a Specific Message

The following code will attach to the Outlook inbox folder, loop through all the unread messages, and search for a message with a specific subject. If the message is found, it’s marked as read, so we won’t re-find it in future searches.   1: Dim strBody ‘ Body 2: Const olFolderInbox = 6 ‘ Folder …

Continue reading »

Apr 11 2008

Sending an HTML Email from a Pre-Made File

This QTip is another variation of Sending an HTML email. Windows 2000 and Windows XP use CDO messaging as a replacement for CDONTS. Sending email with CDO is a simple task.  First we create a reference to the CDO component: Set objMessage = CreateObject(“CDO.Message”) Then fill-in Sender, Subject and Recipient (To) fields of the headers …

Continue reading »

Apr 01 2008

Sending an HTML Email

Windows 2000 and Windows XP use CDO messaging as a replacement for CDONTS. Sending email with CDO is a simple task. First we create a reference to the CDO component Set objMessage = CreateObject(“CDO.Message”) then fill-in Sender, Subject and Recipient (To) fields of the headers and the body text which can be either plain text …

Continue reading »

Apr 01 2008

Sending a Text Email with an Attached File

Windows 2000 and Windows XP use CDO messaging as a replacement for CDONTS. Sending email with CDO is a simple task. First we create a reference to the CDO component Set objMessage = CreateObject(“CDO.Message”) then fill-in Sender, Subject and Recipient (To) fields of the headers and the body text which can be either plain text …

Continue reading »