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

Re: Programmatically set email from address


  • Subject: Re: Programmatically set email from address
  • From: Christiaan Hofman <email@hidden>
  • Date: Mon, 21 Jun 2010 00:30:26 +0200

First of all, this is a list for the Xcode IDE (i.e. the USE of the development environment, not whatever you program using it.) So you're on the wrong list.

(The only connection seems to be your assertion about depreciation, which is pertinently false and even makes no sense given that we're talking about an IDE.)

Moreover, this problem has even absolutely nothing to do with anything remotely related to this list, like AppleScript and Objective-C.

Valid header fields are determined by the mailto protocol, in particular RFC822, and how they are supported depends on whoever will handle the mailto: URL, neither have a remote relation to these subjects.

Christiaan

On Jun 20, 2010, at 22:14, James Udo Ludtke wrote:

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: Alexander Heinz <email@hidden>
References: 
 >Programmatically set email from address (From: James Udo Ludtke <email@hidden>)

  • Prev by Date: Programmatically set email from address
  • Next by Date: Re: Programmatically set email from address
  • Previous by thread: Programmatically set email from address
  • Next by thread: Re: Programmatically set email from address
  • Index(es):
    • Date
    • Thread