Re: Entourage Delegate Account
Re: Entourage Delegate Account
- Subject: Re: Entourage Delegate Account
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 23 Jun 2008 12:10:38 -0700
- Thread-topic: Entourage Delegate Account
On 6/23/08 10:53 AM, "Stockly, Ed" <email@hidden> wrote:
> Thanks for your response, Paul...
>
>> Do you mean on a new outgoing message which you are writing and preparing to
>> send out (by AppleScript)? Not an existing received message, right?
>
> That's right.
>
>> The way you set the "From" line of a new outgoing message or draft window
> (open, unsaved new message) is to set the 'account' (property) of the message.
>> Since 'Exchange account' class has 'delegated account' elements, try just
>> setting the account of the new message to the delegated account of your
>> choice. (The delegated account will have to be referred to in relation to
>> the main Exchange account, of course.)
>
>
> OK, I tried this:
> set the new_message to (make new outgoing message with
> properties {account:delegated account 1})
Wrong. Unless you are already 'telling' the Exchange account in question
(which might be easiest and clearest to read), you have to specify that in
the property. That's what I meant when I said. last email, "(The delegated
account will have to be referred to in relation to the main Exchange
account, of course.)"
So:
set the new_message to (make new outgoing message with
properties {account:delegated account 1 of Exchange account 1})
or
set the new_message to (make new outgoing message with
properties {account:delegated account "Comics" of Exchange account "My
Exchange Account Name"})
or
tell Exchange account 1
set the new_message to (make new outgoing message with
properties {account:delegated account 1})
end tell
etc.
>
> And this
> set the new_message to (make new outgoing message with properties
> {account:delegated account "Comics"})
> And this
> set the new_message to (make new outgoing message with
> properties {account:delegated account 1 of exchange account 1})
>
> No joy.
>
> Is there a better way to associate an outgoing message with a delegated
> account?
>
> ES
--
Paul Berkowitz
_______________________________________________
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