• 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: Sending email programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending email programmatically


  • Subject: Re: Sending email programmatically
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 28 Jan 2004 17:41:33 -0500

On Jan 28, 2004, at 4:47 PM, Louis Sinclair wrote:

I am looking to create an email and send it out programmatically without the user's email application coming up.

The method using NSMailDelivery that is illustrated in Cocoa Programming by Scott Anguish, etc. does not appear to be supported anymore. At least nothing comes up on the search at Apple's site.


It's still a supported API, but for reasons that would be complicated to explain, it's never been documented, aside from the headers.

What is the accepted method for an app that has to run under Jaguar and Panther?


that should do it, there are however potential issues. For example, mail.app must be configured, and teh account must not require SMTP AUTH or POP/IMAP before SMTP.

or, use the pantomime frameworks instead (look at cocoa.mamasam.com for a reference to those)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Sending email programmatically
      • From: Louis Sinclair <email@hidden>
References: 
 >Sending email programmatically (From: Louis Sinclair <email@hidden>)

  • Prev by Date: Re: Optimizing Screensaver
  • Next by Date: NSMenuItem states...
  • Previous by thread: Sending email programmatically
  • Next by thread: Re: Sending email programmatically
  • Index(es):
    • Date
    • Thread