Re: sendin mail with attachments
Re: sendin mail with attachments
- Subject: Re: sendin mail with attachments
- From: Chris Suter <email@hidden>
- Date: Tue, 10 Jul 2007 16:16:48 +1000
On 10/07/2007, at 4:01 PM, Martin Redington wrote:
http://developer.apple.com/qa/qa2004/qa1084.html (dates 11-05)
mentions that the best way to send email from the users selected
mail client is via a mailto: url, but that attachments can use a
special resource, although this is not supported by Apple Mail -
AppleScript should be used as well.
Does anyone know how I can tell what the actual preferred mail
client is, so that I can use AppleScript (presumably custom for that
specific app), or the resource based approach, where it's supported.
If anyone know a library that does this already that would be amazing.
Note that I already have a built in mailer. I'm specifically looking
to open a new message in the user's preferred mail client, with one
or more attachments.
cheers,
m.
Not sure if this will help, but we do an open source library that
allows you to send mails via different clients. Mail, Eudora and
Entourage are currently supported.
http://www.coriolis-systems.com/opensource
I believe you can figure out what the default mail client is by
looking at the URL handler for mailto.
http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html
- Chris
_______________________________________________
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