cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAS mailer setup

serge_praconte
Visitor

Hi everybody,

do you know if it is possible to have an anonymous connection between the CAS and a SMTP server ?

I tried a setup with a blank password but I get the following exception in the log :

javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:765)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:685)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)
at adlex.delta.server.mail.Mailer.sendMail(Mailer.java:340)
at adlex.delta.commonAlarm.CommonMailSender$Sender.run(CommonMailSender.java:431)
at java.lang.Thread.run(Thread.java:745)

Regards,

Serge

3 REPLIES 3

sooryaprabha_mo
Inactive

Hi Serge,

Please go through this link to understand the exception.

https://confluence.atlassian.com/confkb/no-authent...

Hope this may helps!!

Thanks

Soorya Mohan

Thank you Soorya, it was really a JavaMail related problem

serge_praconte
Visitor

Actually that was because of invalid password in mail setup form, that was empty string and not null value... After clicking on "restore" the password field got removed and now the mailer is working right with anonymous SMTP connection 🙂