ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Sending html email but the html is not seen in my mail client
Date Wed, 17 Dec 2008 14:19:14 GMT



-----Original Message-----
From: Paul Taylor [mailto:paul_t100@fastmail.fm]
Sent: Wednesday, December 17, 2008 1:29 PM
To: Ant Users List
Subject: Sending html email but the html is not seen in my mail client

/*
Hi, this is my task

<target name="emailbetacced">
<!-- EmailFile-->
<mail mailhost="mail.messagingengine.com" user="xxxxx@xxxxxxx"
password="xxxxxxxxxx" mailport="25" subject="test"
 messagemimetype="mime/html"
messagefile="C:\code\jthink\jaikozannounce.html" encoding="mime">
<from address="paultaylor@jthink.net"/>
<to address="${emailaddress}"/>
</mail>
</target>

the email is sent okay, but when I open the received email in
Thunderbird the message is empty, however if I look at the email
within the internal Thunderbird folder it can be seen the html is part
of the message (see below) , so what am I doing wrong
*/

try
<target name="emailbetacced">
<!-- EmailFile-->
<mail mailhost="mail.messagingengine.com" user="xxxxx@xxxxxxx"
...
messagemimetype="text/html"
...
</mail>
</target>


Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message