• 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: anything change on the email front?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anything change on the email front?


  • Subject: Re: anything change on the email front?
  • From: Quinn <email@hidden>
  • Date: Wed, 2 Jul 2008 11:56:38 +0100

At 16:12 -0400 1/7/08, Jaime Magiera wrote:
I've been super busy the past few months and haven't been able to keep up with network stuff. Has anything changed on the email API front?

Alas, no. The current situation is:

o NSMailDelivery is deprecated.

o NSMailDelivery will never be available to 64-bit clients. However, it's unlikely to ever go away for 32-bit clents (unless we do something that breaks all existing software, like changing CPU architecture).

o There is no direct replacement for that API.

I'd recommend that you file a bug so that Apple R&D engineer can capture your interest in a replacement API.

<http://developer.apple.com/bugreporter/>

Please be clear about what sort of API you're looking for. I can see at least two distinct paths:

A. A general SMTP API, something like CFFTP but for SMTP. This would be useful for programs running in the daemon context.

B. A direct replacement for NSMailDelivery, which delivers mail based the user's current Mail.app settings. This is only useful for programs running in the GUI context (because it needs access to Mail.app's preferences which come from the home directory which mean you have to be running as a logged in user).

In the meantime, you have a couple of choices:

o If you're looking for option A, there are a plethora of open source solutions. If I was faced with this problem I would probably just start up the Python runtime and do the job from Python.

o If you're looking for option B, you have a number of options:

  - 'GURL' Apple event -- See QA1084:

    <http://developer.apple.com/qa/qa2004/qa1084.html>

  - AppleScript mail -- There's info on this in QA1018:

    <http://developer.apple.com/qa/qa2001/qa1018.html>

    [I'm investigating why this is in legacy land.]

  - continue using NSMailDelivery -- If you're building 64-bit, create
    a 32-bit helper program to do the work.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: anything change on the email front?
      • From: Quinn <email@hidden>
    • Re: anything change on the email front?
      • From: Jaime Magiera <email@hidden>
    • Re: anything change on the email front?
      • From: Philip Aker <email@hidden>
References: 
 >anything change on the email front? (From: Jaime Magiera <email@hidden>)

  • Prev by Date: anything change on the email front?
  • Next by Date: Re: anything change on the email front?
  • Previous by thread: anything change on the email front?
  • Next by thread: Re: anything change on the email front?
  • Index(es):
    • Date
    • Thread