In one of my init.groovy scripts, I’m trying to do:
mailServer.setSmtpAuth(SMTPUser, SMTPPassword)
But this flags an error, saying that’s deprecated, and to use “authentication”. But I can’t find that documentation.
Can anyone point me to a reference or example of using “authentication” to set mailer SMTP auth?
Thanks.
-Alan