Entourage 2008 IMAP connection
Entourage 2008 IMAP connection
- Subject: Entourage 2008 IMAP connection
- From: Paul Thompson <email@hidden>
- Date: Mon, 22 Aug 2011 13:35:22 -0400
Hi,
I am trying to modify an existing applescript that will pre-populate a new Entourage 2008 account with the information I need to have it hook up to GMail so that all the user does is input their password. I have set the various properties up like this:
property domainName : "domain.on.ca"
property AccountID : "GMail - "
property IMAPServer : "imap.gmail.com"
property SMTPServer : "smtp.gmail.com"
property useSSL : true
property IMAPServices : true
property SMTPService : true
property SMTPServicePort : 465
property SMTPAuthentication : true
property LDAPServer : "who.domain.on.ca"
-- example: "GlobalCatalogServer.domain.com"
tell application "System Events"
set shortName to name of current user
set fullName to full name of current user
end tell
-- example 5: email@hidden if full name displays as "First Last"
set emailAddress to character 1 of word 1 of fullName & word 2 of fullName & "@" & domainName
try
set verifyEmail to display dialog "Please verify that your email address is correct." default answer emailAddress with icon 2 buttons {"Cancel", "OK"} default button {"OK"}
set emailAddress to text returned of verifyEmail
tell application "Microsoft Entourage"
activate
set newIMAPAccount to make new IMAP account with properties {AccountID:name & fullName, name:name}
I have been looking at the dictionary for Entourage and I just wanted to know if I am on the right trackā¦.
Thank you,
Paul _______________________________________________
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