On 7/8/2003 7:28 PM, Paul Berkowitz deftly typed out:

Paul, thank you for your reply.

> I don't think you've told us the name of your account, have you? Do you use
> the email address (maybe with those strange space around the"@"?) also as
> the name of the account as seen in Tools/Accounts?

That's correct. I check 3 accounts at work and a couple from my ISP so to
differentiate them I just name the account after the email address (with
spaces inserted to remind me that it's just the Entourage account name).
Maybe it only makes sense to me to do it this way, but there you have it...

> Assuming that "[EMAIL PROTECTED]" is in fact the name of the account, you
> nevertheless do have to specify the 'account' property as an account, not
> just a string. Sure you can specify the account by name, but it still has to
> be an account so specified:
> 
>   POP account "[EMAIL PROTECTED]"

So close and yet so far... I had tried:

    POP account name "remo @ mac.com"

And

    account name "remo @ mac.com"

I was on the wrong track because I had tried specifying by ID and I had to
use the property identifier "ID" in that circumstance so I kept including
"name" when trying to specify by name.

> as the case may be, and not simply
> 
>   "[EMAIL PROTECTED]"
> 
> which is just a string.

I was trying to define the account by using a property at the top of the
script so that I wouldn't have to wade through the script if I decided to
change the account later. The only way the script would compile is if I only
used "remo @ mac.com" as opposed to 'POP account name "remo @ mac.com"'
which I had tried (probably because it was outside of the tell block?).
 
> I would never do this myself - omitting error traps in case you've changed
> the name of the account or deleted it it, but here it is without using any
> variables, just hard-coded in:

This script is actually a stripped down version of the one I was trying to
modify, for clarity in describing my problem on the list. But it didn't do
any error trapping for the existence of the account since in its original
form it didn't specify the sending account. Would it be as simple as:

If exists POP account "remo @ mac.com"

??

> If you're using the default mail account, you can just omit all mention of
> the account.

That's what the script did initially and I just switched the account
manually, but I got tired of that, hence my attempt at specifying the
account. I apologize for leaving out the details of the other attempts I had
made to make the script work.

Thank you very much for the help and advice.

-Remo Del Bello 

-- 
"And he that breaks a thing to find out what it is has left the path of
wisdom."
- Gandalf the Grey in "The Lord of the Rings: The Fellowship of the Ring"

-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to