You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Paul Taylor <pa...@fastmail.fm> on 2008/12/17 13:29:03 UTC
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
thanks Paul
From - Wed Dec 17 12:22:10 2008
X-Account-Key: account1
X-UIDL: 1060694494.143116
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
X-Mozilla-Keys:
Return-Path: <pa...@jthink.net>
Received: from compute1.internal (compute1.internal [10.202.2.41])
by store13m.internal (Cyrus v2.3.13-fmsvn17160) with LMTPA;
Wed, 17 Dec 2008 07:21:20 -0500
X-Sieve: CMU Sieve 2.3
X-Spam-charsets:
X-Resolved-to: paul_t100@fastmail.fm
X-Delivered-to: paul_t100@fastmail.fm
X-Mail-from: paultaylor@jthink.net
Received: from out1.messagingengine.com ([10.202.2.134])
by compute1.internal (LMTPProxy); Wed, 17 Dec 2008 07:21:20 -0500
Received: from compute2.internal (compute2.internal [10.202.2.42])
by out1.messagingengine.com (Postfix) with ESMTP id 5CFB21E8636
for <pa...@fastmail.fm>; Wed, 17 Dec 2008 07:21:20 -0500 (EST)
Received: from heartbeat2.messagingengine.com ([10.202.2.161])
by compute2.internal (MEProxy); Wed, 17 Dec 2008 07:21:20 -0500
X-Sasl-enc: tz7vHfFojlLst5LaGh7DIlaC0xALkn0DDQ8AkvJfOBA4 1229516479
Received: from jthink (cpc2-leed4-0-0-cust808.leed.cable.ntl.com
[81.105.111.41])
by mail.messagingengine.com (Postfix) with ESMTPA id DD54745D04
for <pa...@fastmail.fm>; Wed, 17 Dec 2008 07:21:19 -0500 (EST)
Date: Wed, 17 Dec 2008 12:21:20 +0000
From: paultaylor@jthink.net
To: paul_t100@fastmail.fm
Message-ID: <11...@jthink>
Subject: test
X-Antivirus: AVG for E-mail 7.5.552 [270.9.18/1852]
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_0_12386568.1229516480886"
------=_Part_0_12386568.1229516480886
Content-Type: mime/html; charset=Cp1252
Content-Transfer-Encoding: 7bit
<html>
<head></head>
<body>
<h1>Merry Christmas and thankyou for supporting Jaikoz and Musicbrainz.</h1>
<p>I'm pleased to announce that Jaikoz 2.8.0 is now available, the main
improvements are as follows.
Now added full support Windows Media Audio, the default format used
by Microsoft Media Player.
On OSX Leopard Jaikoz now has iApp Scrollbars
The MusicIP Genpuid software has been upgraded to 1.4 so it can now
analyse more files and Port 10001 no longers need to be open for good
performance.
The UnexpectedException error when closing file in the Tag Browser
has been resolved
A number of issues reading and writing to Mp4 files have been resolved
of course unlike some other prooducts upgrades are always completely free.
Also Jaikoz now has <a
href="http://www.facebook.com/pages/Jaikoz/15843367311">facebook
page</a> on please come and show your support.
Thanks
Paul
(if you do not wish to receive anymore emails from me please email me at
paultaylor@jthink.net and I'll remove you from the distribution list
immediately.)
</p>
</body>
</html>
------=_Part_0_12386568.1229516480886
Content-Type: text/plain; x-avg=cert; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.9.18/1852 - Release Date:
16/12/2008 =
18:11
------=_Part_0_12386568.1229516480886--
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Sending html email but the html is not seen in my mail client
Posted by Paul Taylor <pa...@fastmail.fm>.
Rebhan, Gilbert wrote:
>
> try
> <target name="emailbetacced">
> <!-- EmailFile-->
> <mail mailhost="mail.messagingengine.com" user="xxxxx@xxxxxxx"
> ...
> messagemimetype="text/html"
> ...
> </mail>
> </target>
>
Ah schollboy error, thats it
messagemimetype="text/html"
thanks Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Sending html email but the html is not seen in my mail client
Posted by "Rebhan, Gilbert" <Gi...@huk-coburg.de>.
-----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