Re: WOSMTPHost Problem
Re: WOSMTPHost Problem
- Subject: Re: WOSMTPHost Problem
- From: Hunter Hillegas <email@hidden>
- Date: Thu, 6 May 2004 14:18:46 -0700
Thanks for the tip.
Attempting to use 'localhost' also fails with the same exception. It is
determined to use a non-existent host 'mailhost'.
Anyone else have a clue?
On May 6, 2004, at 9:50 AM, Jon Nolan wrote:
Hunter,
I've seen this exact thing myself when I use a SMTP server outside of
my network. Sometimes it works and sometimes it doesn't. I switched
to an internal host and I've never seen the problem since. It is
somehow dependent on the host that is used.
Jon
At 9:34 AM -0700 5/6/04, Hunter Hillegas wrote:
I am setting the SMTP host in a couple of places.
I have it set in the Application constructor via setSMTPHost(). I
have it set in the properties file.
When I run the following in one of my components:
System.out.println("Using mail host: "+
((Application)application()).SMTPHost()); //DEBUG
I get:
Using mail host: mail.mydomain.com
But, trying to use WOMailDelivery's composeComponentEmail from a
thread pool (from an Apple example), I get the following exception:
com.webobjects.foundation.NSForwardException for
java.net.UnknownHostException: mailhost
So.... Any ideas why WOMailDelivery isn't getting the correct value
when I can extract it myself?
Thanks,
Hunter
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.