Re: WOMailDelivery outside the firewall
Re: WOMailDelivery outside the firewall
- Subject: Re: WOMailDelivery outside the firewall
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Tue, 20 Apr 2004 12:33:55 -0700 (PDT)
On Tue, 20 Apr 2004, Calven Eggert wrote:
> What does sendmail.cf and sendmail.mc mean?
sendmail.cf is the more difficult of the sendmail configuration files. To
prevent errors, the sendmail.mc was developed. You shouldn't have to touch
either until you've tested your app on the localhost.
> I only have to send mail from this server. What are the steps needed to
> accomplish this?
Try sending it to your username at localhost from the machine you're
running it on (if it's Unix -- I know nothing about Windows).
I.e., using info here:
http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_5/Topics/ProgrammingTopics.11.html
tell the app what the SMTP server is:
defaults write DemoApp WOSMTPHost "localhost"
and, in the example further down the page, use these lines instead of the
ones given:
String from = "ACME WebObjects Program <deirdre@localhost>";
Object tos[]={"deirdre@localhost>"};
NSArray to = new NSArray(tos);
// no cc
Try that (changing deirdre to a user name on your own server that you're
running on or the local machine you're testing on).
--
_Deirdre http://deirdre.net
"Ideally pacing should look like the stock market for the year 1999, up
and up and up, but with lots of little dips downwards...."
-- Wen Spencer on plotting a novel
_______________________________________________
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.