Hello,
I have the below code but am looking for a way to embed the JPG image into the email body rather than attach. Is there a way to embed from a network location? \\serverlocation\folder\filename.jpg?
Let>SENDMAIL_STATUS=0
Let>subject=Automated Report
Let>me=
Let>myname=
Let>recipients=
Let>body=The Automated Report has finished running.
Let>attachments=\\serverlocation\folder\filename.jpg?
Let>server=
SMTPSendMail>recipients,server,me,myname,subject,body,attachments
Embed JPG image in Outlook
Moderators: Dorian (MJT support), JRL
Embed JPG image in Outlook
Thank you,
Karie
Karie
- CyberCitizen
- Automation Wizard
- Posts: 721
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Thank you CyberCitizen for taking a look at this. Marcus was kind enough to respond via IM. I'm posting below in case anyone else is interested.
"Marcus: Ok, to do that you'd have to use HTML.
SMTPSendMail doesn't currently support HTML email bodies. It will do in 14.1 Until then you have to use VBScript and Microsoft's CDO to construct and send an HTML email. There's an example in the forum."
Thank you,
Karie
Karie