Re: sending e-mails from ant

2002-01-31 Thread Zhendi Su
Hi, I specified the mailhost attribute as the name of the mail server (not "localhost") and that fixed the problem! Thanks a lot for those who responded. Have a great day! Zhendi Jon Skeet wrote: > > I tried to send an email using ant's mail task, but it failed. The error message >was: >

Re: sending e-mails from ant

2002-01-31 Thread Stefan Bodewig
On Wed, 30 Jan 2002, Zhendi Su <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to send an email using ant's mail task, but it failed. The > error message was: > > /home/rsu/prototype/build.xml:10: IO error sending mail: Connection > refused at This means, that there is no mail server running on t

sending e-mails from ant

2002-01-30 Thread Zhendi Su
Hi, I tried to send an email using ant's mail task, but it failed.  The error message was: /home/rsu/prototype/build.xml:10: IO error sending mail: Connection refused     at org.apache.tools.ant.taskdefs.SendEmail.execute(SendEmail.java, Compiled Code)     at org.apache.tools.ant.Task.per