I've been testing with this. So far my only complaints are 1) the rubbish (let's be nice and call it "proprietary") HTML generated by Outlook, and 2) Outlook requiring users to manually download images by default.
I found an Extended MAPI Wrapper library here...
This is better. No TNEF. I found an old Sue Mosher thread that mentioned olmi.Recipients.ResolveAll can prevent TNEF encapsulation. Seems to work. But look at all that garbage HTML. I had to truncate it to meet the size limitation of this post.
Is there any way to prevent Outlook from...
I tried that code, but ended up doing something else:
Dim olapp As Outlook.Application
Dim olmi As MailItem
Dim fso As Scripting.FileSystemObject
Dim txtstrm As Scripting.TextStream
Set fso = New Scripting.FileSystemObject
strTemplatePath =...
Thanks for the reply. I should have mentioned that I need to include embedded images in the HTML emails messages.
I'm using Access 2007 (customer database) and Outlook 2007.
The customer database is used to send email confirmations for event registration. The idea is to send an HTML email...
Has anyone had any luck with this?
Public Function EmbeddedHTMLGraphicDemo()
'This technique by Neo uses undocumented MAPI properties and CDO
'to add an embedded image file to a message and set the CID so that an
'HTMLBody property <img> tag can set that image as the...
I need to generate HTML email using Access 2007/Outlook 2007. I have enough experience with VBA to gin up the code, but Outlook 2007 is something of a mystery to me.
Here's what I've tried:
1. created an .oft template
2. attempted to insert text into the template like this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.