can SendMail use HTML and embedded images
- To: mathgroup at smc.vnet.net
- Subject: [mg100278] can SendMail use HTML and embedded images
- From: "Luc Barthelet" <luc at tirnua.com>
- Date: Sun, 31 May 2009 06:31:52 -0400 (EDT)
A nice new feature of v7 is SendMail. I use Mathematica to run hourly/daily stats on my web servers, and I started to use SendMail to send the stats. I searched the documentation at length, but I have not figured out how to send the email with an HTML and embedded images. Has anyone looked into this? I believe html in emails can use a <img src="cid:contentId" format. As for the email, the "content-type" needs to be set to text/html, it would be nice if that was an option (I suspect there is a way to do it, I just have not figured it out). Maybe even detect <html at the beginning ? Thank you, Luc