Hello,
I have an Access application which sends emails via Outlook using a HTMLbody.
In the HTML file an image is embedded as part of the signature. But the image doesn't appear in the mail. This is the code
Code:
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.SendUsingAccount = objAccount
.To = xrecipient
.subject = ysubject
.BodyFormat = olFormatHTML
.HTMLBody = GetBoiler("C:\Users\Yves\Downloads\Mailbodytext.html")
.Send
End With
All Outlook settings regarding pictures are correct. In the register "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\ Outlook\Options\Mail" the value "Send Pictures with Document" has the value 1.
So can anybody give me a clue what the problem is and how to fix it?
Using Windows 10 - MS Office 2016 - 64 bit