Re: apples mail help
Re: apples mail help
- Subject: Re: apples mail help
- From: Michelle Steiner <email@hidden>
- Date: Fri, 16 Nov 2007 15:22:10 -0700
On Nov 16, 2007, at 2:24 PM, Bob Cuilla wrote:
I have a mail account called "request" with a mailbox there in
called "valid"
using AS I would like to select all the messages in "valid" which is
in "requests"
then I would like to "save as" all those selected messages as
"plain text" to a file called "final destination" on the desktop
wow!! can this all be done?
I think this will do it:
tell application "Mail"
set theContent to the content of messages of mailbox "valid"
end tell
set fref to open for access (path to desktop as text) & "Final
Destination" with write permission
set eof of fref to 0
write theContent to fref
close access fref
-- Michelle
--
"You can fool some of the people all of the time and those are the
ones you want to concentrate on."
- George W. Bush at the Gridiron Dinner, Washington, DC March 31, 2001
_______________________________________________
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