• 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 set email from address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically set email from address


  • Subject: Programmatically set email from address
  • From: James Udo Ludtke <email@hidden>
  • Date: Sun, 20 Jun 2010 16:14:33 -0400

I just converted an AppleScript, which is depreciated in xCode 3.2.2, into Objective C, for use in xCode 3.2.2. ( The AppleScript has to be imbedded in Objective C code, which does some of the heavy lifting. I got the xCode version working OK, thank to code examples found on the Web.

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

However, my intensive search for programmatically setting the "from" address (select one of my e-mail accounts) in Objective C, which I could do in my 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 sender email, such as "sendfrom:" ?

Have a nice day,
James



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Programmatically set email from address
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: Errors linking to stdarg.h and float.h
  • Next by Date: Re: Programmatically set email from address
  • Previous by thread: Re: Errors linking to stdarg.h and float.h
  • Next by thread: Re: Programmatically set email from address
  • Index(es):
    • Date
    • Thread