我想在詹金斯服务器中设置电子邮件通知。使用下面的设置尝试使用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