• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOSMTPHost Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOSMTPHost Problem


  • Subject: Re: WOSMTPHost Problem
  • From: Hunter Hillegas <email@hidden>
  • Date: Thu, 6 May 2004 08:19:27 -0700

Thanks. As stated in the first line of the email, I am setting it in the application constructor.

Any other ideas?

On May 6, 2004, at 7:08 AM, George Domurot wrote:

try setting it directly in your Application class constructor

	setSMTPHost("mail.mydomain.com");

On May 5, 2004, at 10:58 PM, 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
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
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.


References: 
 >WOSMTPHost Problem (From: Hunter Hillegas <email@hidden>)
 >Re: WOSMTPHost Problem (From: George Domurot <email@hidden>)

  • Prev by Date: Re: jWebUnit (more)
  • Next by Date: another jWebUnit question
  • Previous by thread: Re: WOSMTPHost Problem
  • Next by thread: Re: WOSMTPHost Problem
  • Index(es):
    • Date
    • Thread