RE: WOMailDelivery UnknownHostException: mailhost
RE: WOMailDelivery UnknownHostException: mailhost
- Subject: RE: WOMailDelivery UnknownHostException: mailhost
- From: "Albert Jagnow" <email@hidden>
- Date: Thu, 2 Oct 2003 15:49:09 -0500
- Priority: normal
- Thread-topic: WOMailDelivery UnknownHostException: mailhost
As far as I know to send mail with WOMailDelivery you need a host that
will accept mail transferred via SMTP from the computer your application
is running on. You must specify that mail SMTP host in WO using one of
the set methods either setSMTPHost("") or the command line -WOSMTPHost=
, etc. The host you specify must accept SMTP messages (port 25) from
that host. I do not know that WO supports any type of authentication
with SMTP. This means that the SMTP host must be an open relay for your
application server. I am sure your ISP has a system that will relay
SMTP traffic for other hosts at the ISP. That is most likely the server
you should set your SMTP host as.
In your development mode it appears that WO is sending mail using the
default smtp host name. If you open terminal on the system where it is
working and type "nslookup smtp" or "nslookup mailhost" does it return
the ip address of a real machine. My bet is it will, and that machine
is an smtp host that will allow relaying of mail from your test
machines. If you do a "nslookup smtp" on you ISP deployment machine my
guess is you will get nothing. That would explain why it works on one
network and not another.
--Albert
-----Original Message-----
From: Denis Stanton [mailto:email@hidden]
Sent: Thursday, October 02, 2003 2:55 PM
To: George Domurot
Cc: email@hidden
Subject: Re: WOMailDelivery UnknownHostException: mailhost
Hi George
Thanks for your help. I believe what you say about needing an SMTPHost
that accepts, but as sending via mac.com works from home I don't know
why it doesn't work from the web-hosting site. The server is an eMac
which we have set up ourselves at the ISP's site.. Is there something
I did when I set up my home iMac that we didn't do on the server?
I don't really know that my WO app is using mac.com. The diagnostic
println tells me that SMTPHost = smtp
I tried to set it to smtp.mac.com, but that was later. The default is
SMTPHost = smtp on two machines that work and on one that doesn't. the
one that doesn't is located at a hosting ISP.
Denis
This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
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.