• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMailDelivery deliverMessage Deprecated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Query about Zip command
  • Next by Date: Re: PDFPage Creation query
  • Previous by thread: Re: NSMailDelivery deliverMessage Deprecated
  • Next by thread: updated post
  • Index(es):
    • Date
    • Thread