而發送的電子郵件顯示錯誤: javax.mail.MessagingException: Could not connect to SMTP host: smtp8.net4india.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
我的
發送電子郵件,我嘗試使用Spring框架來發送電子郵件。即時得到下面的錯誤,同時試圖運行的代碼。我使用intellij IDE。 Exception in thread "main" java.lang.IllegalArgumentException: The 'original' message argument cannot be null
at org.springframework.u