Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mail:
- host: smtp.gmail.com
- port: 465
- username: myemail@gmail.com
- password: mypassword
- Caused by: javax.mail.MessagingException: Could not connect to
- SMTP host: smtp.gmail.com,
- port: 465, response: -1
- org.springframework.mail.MailSendException:
- Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue
- a STARTTLS command first. jm6sm60863600wjb.27 - gsmtp
- mail:
- host: smtp.gmail.com
- port: 587
- username: myemail@gmail.com
- password: mypassword
- properties:
- starttls.enable: true
- mail:
- host: smtp.gmail.com
- port: 587
- username: mymail@gmail.com
- password: mypassword
- protocol: smtp
- tls: true
- properties.mail.smtp:
- auth: true
- starttls.enable: true
- ssl.trust: smtp.gmail.com
- spring:
- mail:
- default-encoding: UTF-8
- host: smtp.gmail.com
- username: <Gmail username>
- password: <Gmail password>
- port: 587
- properties:
- mail:
- smtp:
- auth: true
- starttls:
- enable: true
- protocol: smtp
- test-connection: false
Add Comment
Please, Sign In to add comment