Sending EML Files using CDO in a VBScript

  • Thread starter Thread starter Lorenzo Gonzalez
  • Start date Start date
L

Lorenzo Gonzalez

Is it possible to have an email stored in an EML file and send it to each
user pulled from a speadsheet. I have an email that I created in Publisher
and send the email to myself. It's HTML formating is very complex to have
to retype in a VBScript using the HTMLBody property. Can I use the EML file
to send the email?

Thank you in advanced.

Lorenzo Gonzalez
 
Why can't you store your custom HTML in a file, then at runtime read it into
a string and assign to the HTMLBody property?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top