• 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: Getting info out of Mail messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting info out of Mail messages


  • Subject: Re: Getting info out of Mail messages
  • From: cricket <email@hidden>
  • Date: Wed, 3 Oct 2001 14:02:01 -0700

This snippet may help get you started:

tell application "Mail"
activate
set this_message to make new compose message at beginning of every compose message
tell this_message
make new to recipient at beginning of to recipients ,
with properties {address:"email@hidden", display name:"Steve Smith"}
make new cc recipient at beginning of cc recipients ,
with properties {address:"email@hidden", display name:"Betty Smith"}
set subject to "This is an AppleScript test message"
set the content to "The message content"
end tell
make new message editor at beginning of message editors
set compose message of message editor 1 to this_message
end tell

- cricket

On Wednesday, October 3, 2001, at 01:12 PM, applescript-users-
email@hidden wrote:

I'm looking for a simple solution that is evading me.

I want to copy the data out of an ougtoing mail message in Mail.app and
transfer the information into variables to be pasted into another
document.

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
Cardboard reindeer stand proudly amongst the dead trees and angry salt.


  • Follow-Ups:
    • Re: Getting info out of Mail messages
      • From: AppleScript Greg <email@hidden>
  • Prev by Date: Re: Applescript Studio Announced Today
  • Next by Date: script objects & multiple constructors
  • Previous by thread: Getting info out of Mail messages
  • Next by thread: Re: Getting info out of Mail messages
  • Index(es):
    • Date
    • Thread