Re: NSMailDelivery
Re: NSMailDelivery
- Subject: Re: NSMailDelivery
- From: Jeff LaMarche <email@hidden>
- Date: Sun, 2 Nov 2003 20:43:32 -0500
On Nov 2, 2003, at 3:56 PM, James Spencer wrote:
Am I missing something? I have the need to be able to send a simple
email from my application and NSMailDelivery's
+deliverMessage:subject:to: looked perfect but I can't get it to work.
I assume this is because I have not configured an SMTP server but I
don't see any way under Panther to do so. I vaguely recall there
being System Preferences control panel for this in earlier versions of
OS X but don't have an old version that I can check. Does
NSMailDelivery still work under Panther? And if not, is there a
simple way of sending an email without having to go through a mail
client using NSWorkspace?
You can use NSMailDelivery without using a mail CLIENT, but you do need
a mail server... probably the same one that your mail client is using.
If this is an application that will be used by different people at
different locations, you will probably need to have them set a
preference telling the location of their mail server. You can also pull
the address from their internet preferences, assuming the user has set
them up.
Andrew Stone has a great article about sending e-mail on his website.
Here's the direct link:
http://www.stone.com/The_Cocoa_Files/It_s_in_the_email.html
which should help you out with what you're trying to do.
J
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.