• 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
programmatically create email using specified account
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

programmatically create email using specified account


  • Subject: programmatically create email using specified account
  • From: James Udo Ludtke <email@hidden>
  • Date: Tue, 22 Jun 2010 00:44:52 -0400

I just converted an AppleScript, which I used from within a cocoa application, into Objective C, for use in xCode 3.2.2.

I programmatically create the to address, subject, and body based on sample code using:
mailto:email@hidden""?subject=Hello Cruel World!""&body=Share and Enjoy";];

The code works OK, however, my intensive search for programmatically setting the "from" address (email account) in Objective C, which I could do in Apple Script, has not met with success.

In addition to the three arguments "mailto:";, "?subject=", and "&body=", is there a 4th argument to set the from account?

James


_______________________________________________

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

  • Follow-Ups:
    • Re: programmatically create email using specified account
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Problem with stopModalWithCode on a different thread
  • Next by Date: Re: Problem with stopModalWithCode on a different thread
  • Previous by thread: Re: Compile Error: undeclared (first use in this function) --> While Init'ing an Object
  • Next by thread: Re: programmatically create email using specified account
  • Index(es):
    • Date
    • Thread