Send mail using QQ mailbox error: java.net.SocketTimeoutException: Read timed out Failed messages:. Javax.mail.MessagingException: Exception reading response
Treatment
Transmitted from the port 465 to 587 can be.
before fixing:
props.setProperty("mail.smtp.port", 465);
Modified:
props.setProperty("mail.smtp.port", 587);