• 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: Launching Default Mail Client Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Launching Default Mail Client Questions (From: "J. Todd Slack" <email@hidden>)
 >Re: Launching Default Mail Client Questions (From: Barry Wainwright <email@hidden>)
 >Re: Launching Default Mail Client Questions (From: Barry Wainwright <email@hidden>)

  • Prev by Date: Re: Launching Default Mail Client Questions
  • Next by Date: selected text
  • Previous by thread: Re: Launching Default Mail Client Questions
  • Next by thread: selected text
  • Index(es):
    • Date
    • Thread