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

Re: Mail scripting


  • Subject: Re: Mail scripting
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 14 Apr 2007 17:50:19 +0200

On 13/04/07 19:14, Bernardo Höhl wrote:

Helo List,


I am writing a script that gets data from my Filemaker app (contacts), and compiles email messages on Mail.app.


Problem: I want to move the new messages to the "drafts" mailbox where I can later review each one before sending.

I tried the "save message" frase just att end of the tell Mail.app block. But it doesn't seem work.


Looks like "save message" is still too complicated for Mail.app:

   tell application "Mail"
       tell (make new outgoing message)
           set visible to true
           set content to "Hello!"
           -- set other message's properties as needed here
           save
           close
       end tell
   end tell


HTH, Axel _______________________________________________ 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: Mail scripting
      • From: Bernardo Höhl <email@hidden>
References: 
 >Mail scripting (From: Bernardo Höhl <email@hidden>)

  • Prev by Date: Re: applescript uninstaller delete itself & customizing applescript application bundle binary filename (CFBundleExecutable)
  • Next by Date: Application Support
  • Previous by thread: Mail scripting
  • Next by thread: Re: Mail scripting
  • Index(es):
    • Date
    • Thread