login about faq


I want to send an email with Html body and images in it using MailMan. Html body like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>
        <style type="text/css">
            .cs95E872D0{text-align:left;text-indent:0pt;margin:0pt 0pt 0pt 0pt}
        <p class="cs95E872D0"><span><img src="00d1bad0-ab0a-428b-b7bf-fb595d44904c.image" alt="" style="border-width:0px;" /></span></p></body>

Image source "00d1bad0-ab0a-428b-b7bf-fb595d44904c.image" is a file on disk. This file is a Jpeg image.

Any ideas how to send this email whith image? Edit body after using MailMan.AddRelatedFile() is not a good idea. And if I called MailMan.AddRelatedFile() with this name "00d1bad0-ab0a-428b-b7bf-fb595d44904c.image", content type of added related item is "plain/text". Can I change it?

asked Apr 03 '14 at 09:56

kuligintim's gravatar image


edited Apr 03 '14 at 09:57

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 03 '14 at 09:56

Seen: 1,243 times

Last updated: Apr 03 '14 at 09:57

powered by OSQA