Sending html email to bat! program (C#)

Posted by Marcin on Stack Overflow See other posts from Stack Overflow or by Marcin
Published on 2010-12-22T14:48:19Z Indexed on 2010/12/22 14:54 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

Hi, I`m trying to send an html email, witch will be recieved via bat! program.
Mail is sending from c# code. I set up IsBodyHtml = true; My html code is :

<html>
<head>
    <title>Mail</title>

</head>
<body> 
<map name="planetmap">
  <area shape="rect" coords="20,29,303,155" href="http://mysite.com" alt="this is my site" />
  <area shape="rect" coords="372,23,479,103" href="http://somesite.com/" alt="somesite" />
  <area shape="rect" coords="35,345,169,408" href="anotherlink.com" alt="" />
  <area shape="rect" coords="178,348,332,409" href="http://www.lastsite.com/" alt="lastsite" />
</map>
<img src="cid:mail" usemap ="#planetmap" border="0"/>
</body>
</html>

this mail is displayed in outlook well but in bat! it is only an image ( map is not working). can anyone tell me what did i do bad? Regards Marcin

© Stack Overflow or respective owner

Related posts about html

Related posts about html-email