• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fails to set authentication for smtp server in Mail (OS X 10.5)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: width of only the main screen
  • Next by Date: Re: width of only the main screen
  • Previous by thread: Re: AppleScript Commands With No Dictionary Entry
  • Next by thread: InDesign relink and update picture
  • Index(es):
    • Date
    • Thread