smpt mail applescript

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

Hi,

I have a déjà vu :wink:

That worked in tiger but not leopard
How can i fix this in leopard

This is a pretty important information, isn’t it?
How should we know, that this is the goal?

Sorry I was leaving when I wrote the first post

Did you ever get this to work?

I’m working on the same problem.

Bill Patterson

Has anyone got this working yet? Doesn’t work in 10.5.3…