Re: Selection of account in draft window of outlook express
Re: Selection of account in draft window of outlook express
- Subject: Re: Selection of account in draft window of outlook express
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 12 Nov 2001 10:30:17 -0800
On 11/12/01 10:12 AM, "Jean-Marie Hoornaert" <email@hidden> wrote:
>
Hello,
>
>
The question is in the object.
>
>
How to select an account using the account property of the draft window
>
class of Outlook express?
>
>
tell application "Outlook Express"
>
set msg to make new draft window with properties ,
>
{account:"h2o", to recipients:"email@hidden"}
>
end tell
>
>
do not work (error "a reference expected" - "une rifirence itait attendue")
You're giving the (string) name of the account, rather than the account
itself.
tell application "Outlook Express"
set msg to make new draft window with properties
{account:POP account "h2o", to recipients:"email@hidden"}
end tell
If it's an IMAP account, then it's
IMAP account "h2o"
Or you can set it as a variable.
--
Paul Berkowitz