我想在詹金斯服務器中設置電子郵件通知。使用下面的設置嘗試使用Gmail服務器。 enter image description here 下面是錯誤消息我得到: - 無法發送電子郵件 java.net.SocketException異常:連接復位 at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInput
我認爲Gmail正在重寫發件人地址,並使用網絡憑證中爲其提供的帳戶。 MailMessage message = new MailMessage();
message.From = new MailAddress("[email protected]");
message.To.Add(new MailAddress("[email protected]"));
me
我正嘗試使用Gmail的SMTP服務器發送電子郵件(部署在tomcat中)。當進行負載測試,如果請求/秒到SMTP服務器數量的增長更大(> 20)我得到這個例外 javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
nested exception is:java.ne