Re: programmatically create email using specified account
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