I've recently determined that emails I'm creating in Access 2010, and mailing through Outlook 2010 have this extra information added to the email message.
Date: Thu, 6 Jun 2013 15:39:48 -0600
Message-ID: <001801ce62fe$5e667030$1b335090$@safecarautotranspo rt.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac5i/l4qKwb5cN9kTkqZ8bktPFz+qA==
Content-Language: en-us
Here's my code for creating and sending the email. You'll see that I remarked out the HTMLBody and the Attachement. So in essence I'm sending a blank email with only the subject. If I send a blank email from the same email account within Outlook, the recipient receives a blank email. It does not contain the above info. So somehow, this info is being created when the email is created in Outlook.
Dim objAccount As Outlook.Account
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
'Determine the correct account
For Each objAccount In Outlook.Application.Session.Accounts
If objAccount = "Dispatcher" Then
'Create the Outlook session.
Set objOutlook = GetObject(, "Outlook.Application")
'Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.To = strEmailAddress
.SendUsingAccount = objAccount
.Subject = "Safe Car Auto Transport Quote for your " & Me.VehicleMake & " " & Me.VehicleModel
'.HTMLBody = ContractMessage(strCustomerName)
'.Attachments.Add contractfile
.send
'.Display
End With
End If
Next
I've been working with my web hosting company for the last 2 hours, and we've deduced the problem exists within Access. Any suggestions?