ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject AW: Sending Mail Problem
Date Mon, 26 May 2008 08:54:28 GMT
Do you have mail.jar in the ANT-classpath?

See Library dependencies in
http://ant.apache.org/manual/ 


-- 
J├╝rgen 
-----Urspr├╝ngliche Nachricht-----
Von: Guy Catz [mailto:Guy.catz@waves.com] 
Gesendet: Montag, 26. Mai 2008 09:48
An: Ant Users List
Betreff: Sending Mail Problem

Hey guy, I'm trying to send mail via ANT using this code -

        <target name="SendMail" depends="init" description="send nightly-build result via
mail" >
                <mail mailhost="mail.xxxxx.com" mailport="25"
subject="bbb - nightly build result">
                        <from address="email@domain.com"/>
                        <replyto address="email@domain.com"/>
                        <to address="email2@domain.com"/>
                        <message>text</message>
                </mail>
        </target>    



And I'm getting this error. No msg was send.


SendMail:
     [mail] Failed to initialise MIME mail:
javax/mail/MessagingException
    
    
Please advice.

Thanks,
        Guy. 



 
<http://1250099.sigclick.mailinfo.com/sigclick/01030D01/02080A4D/03050E4
D/0310181213.jpg>  

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


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


Mime
View raw message