Re: Adding a message to a mailbox in Mail
Re: Adding a message to a mailbox in Mail
- Subject: Re: Adding a message to a mailbox in Mail
- From: John Delacour <email@hidden>
- Date: Tue, 1 Oct 2002 20:39:08 +0100
At 11:04 am -0700 1/10/02, cricket wrote:
You can't create new message objects and put them in mailboxes. I'm
not sure exactly what you are wanting to do here. Mail's Applescript
dictionary is intended to help automate typical user actions (create
a new message and send it, move messages, get the data of a message
and/or mailbox, set preferences, etc). What exactly are you wanting
to do? If it's possible to do in Mail without Applescript, it's
likely to be possible (or is planned for the future) in Applescript.
What he's probably trying to do is something that has been possible
in Eudora for about ten years
-----
tell app "Eudora"
set data_ to "From: jd
To: email@hidden
Content-Type: text/html
Subject: How to be a happy mailer
<html><body><font size='+5' color='magenta' face='lucida grande'>
Ευδωρα
</font></body></html>"
set msg_ to make message at end of mailbox "In" with data data_
activate
open msg_
send again msg_
end
-----
This has many uses. For example, one can create in Eudora an
illustrated tutorial in the form of a mailbox containing styled
messages, and this mailbox can be searched for anything using regular
expressions, sorted according to topic etc. etc.
I'd like to know what this "typical Mail user" is. Unless his
requirements are very few, he's going to be a sad man for a long time
:-)
----->
Software Entomologist/Mail for Mac OS X email@hidden
Have you sorted out the bug where your <x-flowed> is putting two
spaces at the end of the lines when you wrap them?
JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.