You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Tan, Ming" <Mi...@westgroup.com> on 2001/06/28 22:16:17 UTC
Mail Task
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: <da...@xxx.com>: 550 <da...@xxx.com>... Relaying denied
My target:
<target name="sendMail">
<mail
from="jon@xxx.com"
tolist="dave@xxx.com"
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