spring 邮件仅在停用 avast 时有效
spring mail works only while deactivating avast
这是我的 application.properties 配置 spring 邮件
spring.mail.host=smtp.gmail.com
spring.mail.username=test@gmail.com
spring.mail.password=xxxxxxxxxxx
spring.mail.port=587
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
只有在停用我的防病毒软件时邮件才能成功发送任何针对此类问题的实际解决方案
Open Avast
Click on 'Settings' (upper right corner of page)
Click on 'Troubleshooting'
Click on 'Redirect Settings'
Clear all the port #'s from each field
Check 'Ignore Local Communication'
Click 'OK'
Close Avast
Problem solved!
这是我的 application.properties 配置 spring 邮件
spring.mail.host=smtp.gmail.com
spring.mail.username=test@gmail.com
spring.mail.password=xxxxxxxxxxx
spring.mail.port=587
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
只有在停用我的防病毒软件时邮件才能成功发送任何针对此类问题的实际解决方案
Open Avast
Click on 'Settings' (upper right corner of page)
Click on 'Troubleshooting'
Click on 'Redirect Settings'
Clear all the port #'s from each field
Check 'Ignore Local Communication'
Click 'OK'
Close Avast
Problem solved!