Thanks for your reply Antoine I am using sendmail as my smtp server on the local host.
I added the line your recommended with no success. <property name="MailLogger.mailhost" value="localhost"/> Any other advice. I'm clueless as what to do now. Thanks -----Original Message----- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 10:29 PM To: Ant Users List Subject: Re: Ant MailLogger throws Exception Hello Pico, add <property name="MailLogger.mailhost" value="fully qualified name of your SMTP gateway"/> to your ant build file. The documentation says that the mailhost defaults to localhost. Antoine Pico Geyer wrote: >Hi all > > > >I am trying to setup an automated build process on my linux box. > >All is well except for the MailLogger. > >The following output notes the problem: > > > >MailLogger failed to send e-mail! > >java.net.UnknownHostException: HBDServ: HBDServ > > at java.net.InetAddress.getLocalHost(InetAddress.java:1191) > > at >org.apache.tools.mail.MailMessage.sendHelo(MailMessage.java:408) > > at >org.apache.tools.mail.MailMessage.<init>(MailMessage.java:175) > > at >org.apache.tools.ant.listener.MailLogger.sendMail(MailLogger.java:200) > > at >org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.java: 1 >34) > > > .... > > >Has anyone encountered this problem, or have a solution. HBDServ is the >name of my box. > > > >I have the following properties defined at the beginning of my build >script > ><property name="MailLogger.from" value="[EMAIL PROTECTED]"/> > ><property name="MailLogger.failure.to" value="[EMAIL PROTECTED]"/> > ><property name="MailLogger.succcess.to" value="[EMAIL PROTECTED]"/> > > > >Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
