Re: Launching Default Mail Client Questions
Re: Launching Default Mail Client Questions
- Subject: Re: Launching Default Mail Client Questions
- From: Philip Aker <email@hidden>
- Date: Fri, 12 Sep 2008 04:26:24 -0700
On Sep 12, 2008, at 4:12 AM, Barry Wainwright wrote:
Including attachemnts is theoretically possible by using a construct
like:
mailto:email@hiddenid?subject=this is the subject&body=here is
the body
Please see attached file&attachment=\\host\myfolder
\myfile.txt
Assuming the user has access to the referenced file, that should
work, but I am not sure of the syntax for referencing a file on a
mac system (the posix path shown in my example is unlikely to work).
I also don't know how well the various mail clients that you may
encounter will handle this construct which is part of the mailto url
spec, but may be handled differently by each client.
Attachments don't work for that kind of URL format with the native
facilities OS X (only messages). XMail can handle attachments easily
and there are other built-in scripting languages callable from
AppleScript like Tcl, Perl, Python, and Ruby which have mail modules.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden