You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Guy Catz <Gu...@waves.com> on 2008/06/10 11:37:04 UTC
send mail in a HTML format
Hey guys,
How do I use the mail task to send in a HTML format?
There seems to be a mimetype property. Is this what I need? the manual doesn't say how to use it.
Please advise.
Thanks.
Re: send mail in a HTML format
Posted by Martin <mg...@hotmail.com>.
I think you can set the 'messageMimeType' parameter to text/html as in
messageMimeType="text/html"
http://maven.apache.org/maven-1.x/plugins/test/faq.html
Anyone?
Martin--
----- Original Message -----
From: "Guy Catz" <Gu...@waves.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Tuesday, June 10, 2008 5:37 AM
Subject: send mail in a HTML format
Hey guys,
How do I use the mail task to send in a HTML format?
There seems to be a mimetype property. Is this what I need? the manual
doesn't say how to use it.
Please advise.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: send mail in a HTML format
Posted by "Rebhan, Gilbert" <Gi...@huk-coburg.de>.
-----Original Message-----
From: Guy Catz [mailto:Guy.catz@waves.com]
Sent: Tuesday, June 10, 2008 11:37 AM
To: Ant Users List
Subject: send mail in a HTML format
/*
Hey guys,
How do I use the mail task to send in a HTML format?
There seems to be a mimetype property. Is this what I need? the manual
doesn't say how to use it.
*/
<mail from="..."
tolist="..."
subject="..."
messagefile="path/to/your/foobar.html"
messagemimetype="text/html"
mailhost="..."
failonerror="..."/>
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org