Fwd: Script to set the "SMTP Auth" checkbox in Outlook Express
Fwd: Script to set the "SMTP Auth" checkbox in Outlook Express
- Subject: Fwd: Script to set the "SMTP Auth" checkbox in Outlook Express
- From: email@hidden
- Date: Sat, 2 Mar 2002 01:04:42 EST
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
Close - - very close. I'm wondering if perhaps Applescript can't access this
one checkbox in Outlook - - If you go into Outlook and edit an account, go to
where it says "Send Mail" and click the "Click here for advanced sending
option" button. There's a checkbox that says "SMTP requires server
authentification". I can set the SMTP secure connection (SSL) box at the top
of that window, but not the checkbox below. Can anyone tell me if it's
possible to access that checkbox via Applescript? I don't see a
corresponding command in the Outlook Applescript dictionary.
Question #2: The first time I ran my Applescript, Outlook started up, but
displayed a window asking me to choose accounts. Is there a way I can bypass
that?
Any help is greatly appreciated.
Return-Path: <email@hidden>
Received: from rly-yc04.mx.aol.com (rly-yc04.mail.aol.com
[172.18.149.36]) by air-yc02.mail.aol.com (v83.35) with ESMTP id
MAILINYC23-0301232424; Fri, 01 Mar 2002 23:24:24 -0500
Received: from lists.apple.com (lists.apple.com [17.254.0.151]) by
rly-yc04.mx.aol.com (v83.35) with ESMTP id MAILRELAYINYC43-0301232407;
Fri, 01 Mar 2002 23:24:07 -0500
Received: from lists.apple.com (localhost [127.0.0.1]) by
lists.apple.com (8.11.6/8.11.6) with ESMTP id g224J8s02698; Fri, 1 Mar
2002 20:19:08 -0800 (PST)
Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by
lists.apple.com (8.11.6/8.11.6) with ESMTP id g224Cvu01837 for
<email@hidden>; Fri, 1 Mar 2002 20:12:57 -0800
(PST)
Received: from [207.71.250.166] (250-166.adsl1.netlojix.net
[207.71.250.166]) by beach.silcom.com (Postfix) with ESMTP id
E9809145509 for <email@hidden>; Fri, 1 Mar 2002
20:13:00 -0800 (PST)
User-Agent: Microsoft-Entourage/10.0.3.1725
Subject: Re: Script to set the "SMTP Auth" checkbox in Outlook Express
From: Paul Berkowitz <email@hidden>
To: Applescript-Users <email@hidden>
Message-ID: <
B8A590F8.BF46¾email@hidden>
In-Reply-To: <email@hidden>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: email@hidden
Errors-To: email@hidden
X-BeenThere: email@hidden
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Unsubscribe: <
http://www.lists.apple.com/mailman/listinfo/applescri
pt-users>,
<
mailto:email@hidden?subject=unsubscribe>
List-Id: Help and discussions for scripters developing scripts and
solutions in AppleScript. <applescript-users.lists.apple.com>
List-Post: <
mailto:email@hidden>
List-Help: <
mailto:email@hidden?subject=hel
p>
List-Subscribe: <
http://www.lists.apple.com/mailman/listinfo/applescript
-users>,
<
mailto:email@hidden?subject=subscribe>
List-Archive: <
http://www.lists.apple.com/archives/applescript-users/>
Date: Fri, 01 Mar 2002 20:11:36 -0800
X-Mailer: Unknown (No Version)
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.
_______________________________________________
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.