Re: WOMailDelivery UnknownHostException: mailhost
Re: WOMailDelivery UnknownHostException: mailhost
- Subject: Re: WOMailDelivery UnknownHostException: mailhost
- From: Denis Stanton <email@hidden>
- Date: Fri, 3 Oct 2003 09:41:31 +1200
Hi Kaj
You can also set this from your Application.java, see
<url:http://developer.apple.com/documentation/WebObjects/Reference/
API/com/webobjects/appserver/
WOApplication.html#setSMTPHost(java.lang.String)>
yes, I've found that. I'm trying to do it through setting Additional
Arguments for new instances in Monitor while I'm testing because
compiling a new copy of the application and transferring 2 MB to the
server through my no-very-broadband link takes time. I can see and use
the remote server's JavaMonitor page much more quickly.
I have the code for setting SMTPHost by either method, but what I don't
have is any way to specify the user and password authentication which
smtp servers like smtp.mac.com seem to require. That's why it seemed
logical to me that OS X might take the values in the email section of
System Preferences.
Denis
On Friday, October 3, 2003, at 08:44 AM, Kaj Hejer wrote:
At 08:12 +1200 03-10-2003, Denis Stanton wrote:
On Friday, October 3, 2003, at 05:09 AM, MadBrowser wrote:
Doesn't mac.com require SMTP to be authenticated? I.e. you have to
pass user/pass to send via their servers?
Seems likely, but if so, do you have any idea how do I set user and
password in WO? Could it be appended to -WOSMTPHost in the command
line parameters?
I've tried setting -WOSMTPHost smtp.mac.com, though I don't
understand why the default value inside application seems to be just
"smtp"
You can also set this from your Application.java, see
<url:http://developer.apple.com/documentation/WebObjects/Reference/
API/com/webobjects/appserver/
WOApplication.html#setSMTPHost(java.lang.String)>
-Kaj :)
--
_______________________________________________________________________
_____
Center for Information Technology Services, University of Oslo,
Norway
e-mail:
email@hidden
WWW:
http://folk.uio.no/kajh/
Denis Stanton
email@hidden
Home: (09) 533 0391
mobile: 021 1433622
_______________________________________________
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.