You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2004/11/09 10:43:39 UTC

Mail task error

Hi,

when sending an email via

---snipp-------

<mail from = "${env.USERNAME}"
  tolist   = "${Owner)"
  subject  = "Delivery successful"
  messagefile = "${temp.deploy}\Delivery_IDENT.txt"
  mailhost    = "mailhost"
  failonerror = "false"/>

---snipp-------
 
i get an error =

Failed to initialise MIME mail
Failed to send email

The email is sent nevertheless ?!

How to get rid of that error ?


Regards, Gilbert

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


Re: Mail task error

Posted by Ivan Ivanov <ra...@yahoo.com>.
Hi, 

accoriding to [1] mail task with mime type requires
mail.jar in Ant classpath, i.e. place mail.jar in
$ant.home/lib, or $user.home/.ant/lib

[1]http://ant.apache.org/manual/install.html#librarydependencies
--- "Rebhan, Gilbert" <Gi...@huk-coburg.de>
wrote:

> 
> Hi,
> 
> when sending an email via
> 
> ---snipp-------
> 
> <mail from = "${env.USERNAME}"
>   tolist   = "${Owner)"
>   subject  = "Delivery successful"
>   messagefile = "${temp.deploy}\Delivery_IDENT.txt"
>   mailhost    = "mailhost"
>   failonerror = "false"/>
> 
> ---snipp-------
>  
> i get an error =
> 
> Failed to initialise MIME mail
> Failed to send email
> 
> The email is sent nevertheless ?!
> 
> How to get rid of that error ?
> 
> 
> Regards, Gilbert
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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