Re: WOMailDelivery UnknownHostException: mailhost
Re: WOMailDelivery UnknownHostException: mailhost
- Subject: Re: WOMailDelivery UnknownHostException: mailhost
- From: Denis Stanton <email@hidden>
- Date: Fri, 3 Oct 2003 08:39:05 +1200
On Friday, October 3, 2003, at 08:15 AM, MadBrowser wrote:
My understanding is that WO tries to use a host called 'smtp' as the
default host to send mail. I think it is assuming that the hostname
'smtp' could be looked up in DNS and would resolve to
smtp.yourdomain.com and hopefully that would be valid.
Ok, that makes sense. I have to figure out how to get the DNS to
convert smtp to something real
I don't think it uses any settings from Mail or the Internet prefs,
since you can deploy on Solaris, Windows, etc... and they don't have
those apps.
True, but Solaris may have a standard place to store the mail host
address, just as OS X apparently does. I now think Mail is irrelevant,
but I think the Internet Prefs are a possibility. Sadly, before I came
to that decision I set up Mail on the server with my account details.
It promptly removed 800 messages from my inbox. Through a series of
bad decisions I think these are now lost :-(
I set my SMTP server explicitly in my code to MY SMTP server that I
have running on my co-located deployment server. It is a sendmail
server. The hostname isn't actually 'mail.host.com', I was just using
that as an example. That should be replaced with a value for a real
mail server.
Thanks for clarifying. I wasn't thinking. I was going to try
'mail.host.com', but of course this was a dummy name.
I don't know if .Mac will allow you to send mail from a WebObjects
app. I think you need your own mail server... You should be able to
run one on your box...
I wish I could figure out how this works on my two Macs here at home.
My WebObjects app sends mail with just whatever default settings come
with the box. I'm not running any other mail server and the only smtp
these macs know about is smtp.mac.com
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.