Re: Getting info out of Mail messages
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.