ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Touret <alexandre.tou...@cgbi.fr>
Subject Re: The <mail> task with mime attachment
Date Wed, 09 Oct 2002 07:37:43 GMT
ANT use Javamail.
look at on the web site (http://java.sun.com/products/javamail/).
It explains how to install this product.

Alexandre

Erik Hatcher wrote:

> Where in your <mail> task are you saying to send a JAR file?
>
> In order to send MIME attachments, you need to install activation.jar 
> and mail.jar (typically in ANT_HOME/lib).
>
>     Erik
>
>
> Johan Karlsson TACMa wrote:
>
>> Hi,
>>
>> I'm trying to use the <mail> task to send an e-mail with a jar file as
>> attachment. However, this is not working correctly. The e-mail is 
>> sent, but
>> I cannot attach anything. I get this as output:
>>
>> [mail] Failed to initialise MIME mail
>> [mail] Failed to initialise UU mail
>> [mail] Using plain mail
>> [mail] Sending email: New Collector has been built.
>> [mail] From joka@tac.se
>> [mail] To [Johan Karlsson <joka@tac.se>]
>> [mail] Cc []
>> [mail] Bcc []
>> [mail] Sent email with 0 attachments
>>
>> The definition from the build file (without the surrounding target
>> definition):
>>
>> <mail from="joka@tac.se" mailhost="smtp.tac.se" subject="New 
>> Collector has
>> been built.">
>> <to name="Johan Karlsson" address="joka@tac.se"/>
>> <message>Collector ${version.full} ha been built successfully.</message>
>> </mail>
>>
>> Can anyone pleas help me?
>>
>> Regards
>> Johan
>>
>>
>> --
>> To unsubscribe, e-mail:   
>> <mailto:ant-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <mailto:ant-user-help@jakarta.apache.org>
>>
>>
>>
>
>
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
>
>

-- 
________________________________
Alexandre Touret
CGBI - France Telecom e-Business
2, rue Auguste Comte
92170 Vanves
tel.:01/46/12/62/17  Poste:12.62.17
fax.: 01/56/66/41/60
mailto:alexandre.touret@cgbi.fr
mailto:alexandre.touret@fteb.net





Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message