I can’t get this to work
tell application "Mail"
set newsmtpac to make new smtp server with properties {server name:"smtp.example.com", port:587, uses ssl:true}
set smtp server of newmailac to newsmtpac
set serverx to smtp server ("smtp.example.com")
tell serverx
set authentication to password
end tell
tell serverx
try
set user name to "User@example.com"
set password to "Password"
end try
end tell
end tell
Please help
Mr. Gecko