Guest User

Untitled

a guest
Jan 17th, 2018
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. mail:
  2. host: smtp.gmail.com
  3. port: 465
  4. username: myemail@gmail.com
  5. password: mypassword
  6.  
  7. Caused by: javax.mail.MessagingException: Could not connect to
  8. SMTP host: smtp.gmail.com,
  9. port: 465, response: -1
  10.  
  11. org.springframework.mail.MailSendException:
  12. Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue
  13. a STARTTLS command first. jm6sm60863600wjb.27 - gsmtp
  14.  
  15. mail:
  16. host: smtp.gmail.com
  17. port: 587
  18. username: myemail@gmail.com
  19. password: mypassword
  20. properties:
  21. starttls.enable: true
  22.  
  23. mail:
  24. host: smtp.gmail.com
  25. port: 587
  26. username: mymail@gmail.com
  27. password: mypassword
  28. protocol: smtp
  29. tls: true
  30. properties.mail.smtp:
  31. auth: true
  32. starttls.enable: true
  33. ssl.trust: smtp.gmail.com
  34.  
  35. spring:
  36. mail:
  37. default-encoding: UTF-8
  38. host: smtp.gmail.com
  39. username: <Gmail username>
  40. password: <Gmail password>
  41. port: 587
  42. properties:
  43. mail:
  44. smtp:
  45. auth: true
  46. starttls:
  47. enable: true
  48. protocol: smtp
  49. test-connection: false
Add Comment
Please, Sign In to add comment