I have Access2010 sending out emails for me. Here is the code I'm using
'Text of Body
msg = saluation
msg = msg & Chr$(13) & Chr$(13) & "Thank you for giving Safe Car Auto Transport the opportunity to assist you with your shipping needs!!"
msg = msg & Chr$(13) & Chr$(13) & "Attached is the contract for your transportation needs. Great care has been taken to insure that all information is correct. Please review, and if an error exists or you have a question , PLEASE inform us immediately so we can make the necessary corrections."
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 = "Dispatch - Safecarautotransport.com" Then
'Create the Outlook session.
Set objOutlook = CreateObject("Outlook.Application")
'Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.To = emailaddress
.SendUsingAccount = objAccount
.Subject = "Safe Car Auto Transport Quote"
.Body = msg
.Attachments.Add contractfile
.Send
End With
End If
Next
Set objOutlook = Nothing
Set objAccount = Nothing
Set objOutlookMsg = Nothing
My question is how do I add a logo to this email? Can it be a hyperlink? Thanks in advance!!