> On 7 Jul 2016, at 17:13, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote: > > I have a daemon app built on Foundation (aka "command line tool") running in > the background and I need it to issue a textual email on certain conditions. > > The solutions for emailing that I've been able to find (NSWorkspace, > NSSharingService, LSOpenCFURLRef) all involve launching an email client like > Mail.app, which is inappropriate for a backgraound daemon process. > > Is there a way to fire off a simple email from an ObjC Foundation-only app > running in the background on OS X 10.10.5 (not Server)? I'm told that ages > ago there was a handly class named NSMailDelivery, but it's long gone...
Not sure if this will pass muster. It seems reasonably alive in some forks. https://github.com/MailCore/MailCore It is a framework though. J _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com