Thanks Jens, I use a GUI app that connects to the daemon (foundation tool) and sets the SMTP server info.
I have just found skpsmtpmessage which looks like it might do the job. I just have to modify it as it was built for iOS. Thanks, Aaron On 29/09/2011, at 4:13 PM, Jens Alfke wrote: > > On Sep 28, 2011, at 10:41 PM, Aaron Scott wrote: > >> I am build a foundation tool that needs to send email alerts. Does anyone >> know the best/easiest way to accomplish this. I can't seem to find any >> daemon safe SMTP frameworks. > > In the past I’ve simply invoked /usr/bin/sendmail using NSTask. > > The problem with any framework is going to be figuring out what SMTP server > to use. Groping Mail.app’s preferences could work, assuming the user uses > Mail. Or it might have to be a pref. > > —Jens _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com