Hi, all:

I have a question about using the Mail task. I have the name of the
mailhost, however, when I tried to run the target below, I received this
error:

C:\CLE\buildLegalEdCenter.xml:321: IO error sending mail: Unexpected reply
to co
mmand: RCPT TO: <[EMAIL PROTECTED]>: 550 <[EMAIL PROTECTED]>... Relaying denied

My target:
<target name="sendMail">
<mail 
        from="[EMAIL PROTECTED]" 
        tolist="[EMAIL PROTECTED]" 
        subject="Results of nightly build"
        mailhost="999.99.9.999" 
        message="This is just a test, do not get too excited yet!"/>
</target>


Any clues? Thanks in advance. Also, is there any other ways to send email
unsing ANT?

-Ming


Reply via email to