ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dwayne Walker" <wb5...@gmail.com>
Subject Re: mail task getting Unknown SMTP host
Date Mon, 10 Apr 2006 17:16:01 GMT
Oh, thanks for the suggestions but I feel the idiot. I was passing "
10.41.16.31" as the ip. Notice the leading space. I do thank you for
your responce Brian.

Dwayne

On 4/6/06, Brian McCallion <brian.mccallion@bronzedrum.com> wrote:
> Hi Daniel,
>
> Can you telnet to the host on port 25?  If so do you get an smtp session
> with the host?
>
> Thanks,
>
> Brian
>
> Brian McCallion
> President
> WebSphere Automation Solutions
> Bronze Drum Consulting, Inc.
> 230 Park Avenue
> New York, NY  10169
> T (646) 283-0534
> F (646) 201-9596
> http://www.bronzedrum.com
> brian.mccallion@bronzedrum.com
>
> -----Original Message-----
> From: Dwayne Walker [mailto:wb5plj@gmail.com]
> Sent: Tuesday, April 04, 2006 10:40 AM
> To: user@ant.apache.org
> Subject: mail task getting Unknown SMTP host
>
> I am having a problem using this all of the sudden.
>
> I was going to search the list but I can't find a way to search the
> archive. Does anyone know how to do that?
>
> in lew of that, I am getting the folowing error. I can Ping that host
> and I have confirmed that the username and password I am passing is
> correct. are there any ideas on this?
>
> BUILD FAILED
> C:\daily_changelog\dailyChangelog.xml:82: Problem while sending mime mail:
>         at
> org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:229)
>         at
> org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:548)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
> ava:40)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         at org.apache.tools.ant.Main.startAnt(Main.java:187)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: javax.mail.SendFailedException: Sending failed;
>   nested exception is:
>         javax.mail.MessagingException: Unknown SMTP host:  10.41.16.31;
>   nested exception is:
>         java.net.UnknownHostException:  10.41.16.31
>         at javax.mail.Transport.send0(Transport.java:219)
>         at javax.mail.Transport.send(Transport.java:81)
>         at
> org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:227)
>         ... 13 more
> --- Nested Exception ---
> javax.mail.SendFailedException: Sending failed;
>   nested exception is:
>         javax.mail.MessagingException: Unknown SMTP host:  10.41.16.31;
>   nested exception is:
>         java.net.UnknownHostException:  10.41.16.31
>         at javax.mail.Transport.send0(Transport.java:219)
>         at javax.mail.Transport.send(Transport.java:81)
>         at
> org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:227)
>         at
> org.apache.tools.ant.taskdefs.email.EmailTask.execute(EmailTask.java:548)
>         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369)
>         at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>         at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
> ava:40)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>         at org.apache.tools.ant.Main.runBuild(Main.java:668)
>         at org.apache.tools.ant.Main.startAnt(Main.java:187)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>
> --
> No
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


--
No
Mime
View raw message