Re: Script to set the "SMTP Auth" checkbox in Outlook Express
Re: Script to set the "SMTP Auth" checkbox in Outlook Express
- Subject: Re: Script to set the "SMTP Auth" checkbox in Outlook Express
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 01 Mar 2002 20:11:36 -0800
On 3/1/02 7:43 PM, "email@hidden" <email@hidden> wrote:
>
With Outlook 5.02 and 5.03, there's a setting in the account preferences in
>
Outlook to set the:
>
>
SMTP service requires secure connection (SSL)
>
>
and
>
>
SMTP server requires authentification
>
>
I'd like to write an AppleScript that looks for an account called "Home", and
>
sets those 2 checkboxes to true. (It's a POP account).
>
>
Checking the Outlook Express dictionary, I see under "POP account":
>
>
POP requires SSL boolean -- true if an SSL connection is needed for the
>
POP server
>
SMTP requires SSL boolean -- true if an SSL connection is needed for
>
the SMTP server
>
>
I haven't quite mastered yet how to map the dictionary commands into a
>
working script. What I'm thinking it would be, is something like:
>
>
tell application "Outlook Express"
>
>
if POP account "Home" exists
>
set POP requires SSL of POP account "Home" to true
>
set SMTP requires SSL of POP account "Home" to true
>
end if
>
>
end tell
>
>
Can anyone help me with the syntax?
it should work as is. or:
tell application "Outlook Express"
if exists POP account "Home" then
set POP requires SSL of POP account "Home" to true
set SMTP requires SSL of POP account "Home" to true
end if
end tell
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.