Re: Set account of outgoining message in OE
Re: Set account of outgoining message in OE
- Subject: Re: Set account of outgoining message in OE
- From: Andy Wylie <email@hidden>
- Date: Mon, 07 May 2001 21:10:37 +1200
on Mon, 07 May 2001 08:38:59 +0200 Bart Visser 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?
try changing the default account Bart
------------------------
tell application "Outlook Express"
set defAcc to default mail account
set default mail account to POP account id 5 --or POP account "string"
--do stuff
set default mail account to defAcc
end tell
_______________ Andy