ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Catz" <Guy.c...@waves.com>
Subject Sending Mail Problem
Date Mon, 26 May 2008 07:48:24 GMT
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


Mime
View raw message