• 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
Send mail using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Send mail using AppleScript


  • Subject: Send mail using AppleScript
  • From: Rob Werner <email@hidden>
  • Date: Thu, 31 Jul 2003 11:34:30 +1000

I've been trying to send mail from my AppleScript using Mail.app, but I'm
running in to problems. I can successfully set most details of the outgoing
mail, but I'm having no luck setting the recipient address. I found the
script on this page:

http://developer.apple.com/qa/qa2001/qa1018.html

However, it does not compile. It throws up the error:

"Expected "," but found class name"

when it gets to this line, highlighting the word 'message':

set composeMessage to (a reference to (make new compose message ,
at beginning of compose messages))

Is there a simple way of doing this? It doesn't have to be anything fancy
because the details of the outgoing mail will always be exactly the same.
Do I even need to use Mail.app?

Cheers,

-Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Send mail using AppleScript
      • From: Marcus Rodrigues <email@hidden>
  • Prev by Date: Re: ASS 1.2, the Mail Search application, wiring up the datasouce
  • Next by Date: QuarkXPress Dimensions
  • Previous by thread: Re: Thanks (was: Keep lines)
  • Next by thread: Re: Send mail using AppleScript
  • Index(es):
    • Date
    • Thread