Re: how to embed images inside an email.
| Newsgroups | gmane.mail.blat |
|---|---|
| Message-ID | <BCB6E3F4D97846C4BEF2D82287E95252@chip> |
> Hi Chip, > > Thank you. After some effort I managed to get the graph image as the content of the email. > > After that I tried WITHOUT success to get the text notification and graph image to both appear on the email content. I tried all possible commands but every time the notification text always ended up as an attachment. > > Please confirm that this cannot be done and I will end up sending the text notification as the email content and the graph image as an attachment as I sent you the other day. > > Ima. If you intend to send plain text and have the image embedded within the message, this cannot be done – strictly speaking. Email standards do not allow for plain text messages to also include embedded images. If you receive an email that has an image inside the text area, then the message format will be html or possibly rich text. If you can format the text notification as html, then you will be able to embed the image inside your html using the method already mentioned. There is a way to have both plain text and html in the same message, and get the embedded image inside your html. How the email is viewed at the client will determine if they see html and image, or they will see plain text with the html and image as attachments. This requires that you format a message as two files, one each for plain text and html. Blat can then use the html file as your main message, and use the plain text file as alternate text with the –alttextf option. For example: blat htmlfile.htm –alttextf plaintextfile.txt –t someone –s “Some subject matter” –embed imageFile.jpg Chip --- This email has been checked for viruses by AVG. http://www.avg.com