setting Mailer authentication

12 views
Skip to first unread message

Alan Sparks

unread,
Sep 13, 2021, 6:24:00 PM9/13/21
to Jenkins Users

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

Daniel Beck

unread,
Sep 14, 2021, 3:59:41 AM9/14/21
to jenkins...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages