Fails to set authentication for smtp server in Mail (OS X 10.5)
Fails to set authentication for smtp server in Mail (OS X 10.5)
- Subject: Fails to set authentication for smtp server in Mail (OS X 10.5)
- From: Tobias Walser <email@hidden>
- Date: Tue, 13 Nov 2007 11:40:41 +0100
Hi there
I've a script that handles creating accounts in Mail. After several
problems with earlier versions it worked perfectly in 10.4.
Last week I upgraded to 10.5 and now my script fails to set
authentication and password for the smtp server.
Here's my script:
set theFullName to "Bluewin Tester"
set theUsername to "email@hidden"
set thePassword to "74n2tdwp"
set theHostname to "pop.bluewin.ch"
set thePopPort to 110
set thePopSSL to false
set thePopAuthentication to "password"
set theSmtpAuthServer to "smtpauth.isp.com"
set theSmtpAuthPort to 587
set theSmtpAuthSSL to false
set theSmtpAuthentication to "password"
on createNewSMTPServer(theAccount, theSmtpAuthServer, theSmtpAuthPort,
theSmtpAuthentication, theSmtpAuthSSL, thePassword, theUsername)
tell application "Mail"
set theSMTPServer to make new smtp server with properties {server
name:theSmtpAuthServer, port:theSmtpAuthPort,
authentication:theSmtpAuthentication, uses ssl:theSmtpAuthSSL, user
name:theUsername}
delete password of theSMTPServer
set password of theSMTPServer to thePassword
set smtp server of theAccount to theSMTPServer
end tell
end createNewSMTPServer
Does anybody has an idea how to fix that?
Regards,
Tobias
_______________________________________________
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