Re: NSMailDelivery deliverMessage Deprecated
Re: NSMailDelivery deliverMessage Deprecated
- Subject: Re: NSMailDelivery deliverMessage Deprecated
- From: has <email@hidden>
- Date: Fri, 23 May 2008 09:19:06 +0100
Nick Zitzmann wrote:
On May 22, 2008, at 5:15 PM, Lorenzo wrote:
Hi,I have just seen that the API
[NSMailDelivery deliverMessage:...
As been deprecated in Leopard. Is anyone know about a replacement?
As has been mentioned, this framework is deprecated. I'd suggest using
the Scripting Bridge instead if you need something that uses Apple
Mail preferences for outgoing mail, etc. There's some sample code
here: <http://developer.apple.com/samplecode/SBSendEmail/index.html>
There's also objc-appscript (see my sig), which is better designed and
more reliable than Scripting Bridge, and also works on Panther and
Tiger as well as Leopard. See the sample SendEmail project in the svn
repository for an example of sending emails via Mail.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden