We are setting the parameters for EMail account at design time through application.properties file as below;
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.protocol=smtp
spring.mail.username=**********@*****.com
spring.mail.password=************
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
Can the user set these parameter at runtime as user may not be willing to share these parameters with developer. We have also searched JMX console for “mail” keyword, no mail parameters appear. Please guide.