Sending mails out of an Access application via Outlook

Occasional Visitor

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


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")  


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?

1 Reply

Hello Yves Robeyst,


Thanks for posting here. Please try adding the .Display before the .Send to check it, please see here.


If the issue persists, for this development issue, we suggest you contact with the code experts here to get the dedicated support. Your understanding is appreciated.