cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send an email using Java and gmail smtp with config ("mail.smtp.auth"="false").

former_member633947
Discoverer
0 Kudos
203

Hi All,

I am trying to create a Java micro-service application to trigger an email using Gmail SMTP. I have checked the tutorial : https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/e70a574cbb57101494a781920e3...

which shows the configuration but the example is with "mail.smtp.auth"="true".

Can we do the same with "mail.smtp.auth"="false" where I don't need to provide username and password.

I tried and end up with following response.

530-5.5.1 Authentication Required. Learn more at 530 5.5.1 https://support.google.com/mail/?p=WantAuthError l12sm3787274pgs.44 - gsmtp

Also is there any service offered by SAP cloud foundry to trigger an email?

Thank You

Amrit

Accepted Solutions (0)

Answers (0)