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

Re: programmatically create email using specified account


  • Subject: Re: programmatically create email using specified account
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 22 Jun 2010 18:38:32 -0500

On 21 Jun 2010, at 11:44 PM, James Udo Ludtke wrote:

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

The mailto: URL scheme has a specification (RFC 2368): <http://www.faqs.org/rfcs/rfc2368.html>

In the instructions for respondents to the mailto: scheme, the RFC says from= should not be accepted:

> Note that some headers are inherently unsafe to include in a message generated from a URL. For example, headers such as "From:", "Bcc:", and so on, should never be interpreted from a URL. In general, the fewer headers interpreted from the URL, the less likely it is that a sending agent will create an unsafe message.
...
> Programs that interpret mailto URLs should ensure that the SMTP "From" address is set and correct.


	— F

_______________________________________________

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

References: 
 >programmatically create email using specified account (From: James Udo Ludtke <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: programmatically create email using specified account
  • Next by thread: iOS4: CFReadStream and background operation
  • Index(es):
    • Date
    • Thread