• 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: Bernardo Höhl <email@hidden>
  • Date: Mon, 16 Apr 2007 16:46:02 -0300

Helo Axel,


Thanks for your tip.

It worked!

Bernardo

===================
On Apr 14, 2007, at 12:50 PM, Axel Luttgens wrote:

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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40correiofacil.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________ 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: 
 >Mail scripting (From: Bernardo Höhl <email@hidden>)
 >Re: Mail scripting (From: Axel Luttgens <email@hidden>)

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