Re: Set account of outgoing message in OE
Re: Set account of outgoing message in OE
- Subject: Re: Set account of outgoing message in OE
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 07 May 2001 01:41:22 -0700
On 5/6/01 11:38 PM, "Bart Visser" <email@hidden> wrote:
>
I want to create a script that creates a new message with an other account
>
than the default account. The part of creating the message is easy, but how
>
can I let AS change the account?
Don't change it; set it the way you want at the beginning.
set theAccount to POP account "My Other Account" -- or IMAP account
set theContent to "some content or other"
make new outgoing message at out box folder with properties
{account:theAccount, subject:"Boo", content:theContent,
recipient:{address:"A B <abd@d.e>"}}
--or, if you want an open draft message on the screen
make new draft window with properties {account:theAccount,
subject:"Boo", content:theContent}
--
Paul Berkowitz