• 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
Apple Mail question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple Mail question


  • Subject: Apple Mail question
  • From: Bob Cuilla <email@hidden>
  • Date: Mon, 3 Jul 2006 17:54:10 -0400


I have been using AS from with Filemaker quite succesfully.  However, I can't seem to get Mail to send without clicking on the SEND button.
Can anyone enlighten me?  What the heck am I missing?

Here is the script I curently use.  It works great.  What do I need to add.



tell application "Mail"
set theAddress to "email@hidden"
set theSubject to "The Entertainment Company1"
set theAttachment to "/volumes/Macintosh Tiger HD/Users/bcuilla/Desktop/TEC Promo Documents/TEC.Profile-EMail.pdf"
set theBody to ""
set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return}
tell newMessage
set visible to true
make new to recipient at end of to recipients with properties {address:theAddress}
tell content
make new attachment with properties {file name:theAttachment} at after the last paragraph
end tell
end tell
end tell



Thanks

Bob Cuilla
Orlando

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Apple Mail question
      • From: Henry Halff <email@hidden>
    • Re: Apple Mail question
      • From: dev_sleidy <email@hidden>
  • Prev by Date: Re: Saving parts and settings
  • Next by Date: Re: Apple Mail question
  • Previous by thread: Re: Intel UI scripting
  • Next by thread: Re: Apple Mail question
  • Index(es):
    • Date
    • Thread