Hi Ming-
The mailserver you are forwarding your mail to is configured to reject mail
from unknown domains (yours being one of those.) To fix this problem, you
will either need to send the mail to a server that is an open-relay although
these are rare, as the spam-kings usually flood them as soon as they are
located, otherwise you need to configure the mailserver to relay mail for
your specific domain. There is good information on this in the FAQ at
http://www.sendmail.org
Hope that helps.
-----Original Message-----
From: Tan, Ming [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 3:16 PM
To: '[EMAIL PROTECTED]'
Subject: 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: <[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