• 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
Adding an attachment to an email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding an attachment to an email


  • Subject: Adding an attachment to an email
  • From: Peter Hudson <email@hidden>
  • Date: Fri, 9 May 2008 15:49:14 +0100

I generate a new email with subject line, content  and addressee as follows :-

set add to "email@hidden"
set subj to "Return Journey"
set cont to "The best way Home"


tell application "Mail"
activate
GetURL ("mailto:" & add & "?subject=" & subj & "&body=" & cont)

end tell


How do I now attach a zip file located on my desktop to this email ?

Cheers 

Peter
 _______________________________________________
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

  • Follow-Ups:
    • Re: Adding an attachment to an email
      • From: Barry Wainwright <email@hidden>
  • Prev by Date: Re: Mail scripting : How to select…
  • Next by Date: Re: Mail scripting : How to select…
  • Previous by thread: Re: Mail scripting : How to select…
  • Next by thread: Re: Adding an attachment to an email
  • Index(es):
    • Date
    • Thread