client.UseDefaultCredentials = false; //设置邮件发送格式 client.DeliveryMethod = SmtpDeliveryMethod.Network; //安全连接设置 client.EnableSsl = false; client.Send(mail); 错误一:“/”应用程序中的服务器错误。 SMTP 服务器要求安全连接或客户端未通过身份验证。 服务器响应为: 5.7.1 Client was not authe...
1.获取证书 openssl s_client -showcerts -starttls smtp -crlf -connect smtp.office365.com:587 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > public.crt 2.导入证书到jdk 密码是 changeit 或changit keytool -import -alias outlook -keystore $JAVA_HOME/jre/lib/securit...
1.获取证书 openssl s_client -showcerts -starttls smtp -crlf -connect smtp.office365.com:587 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > public.crt 2.导入证书到jdk 密码是 changeit 或changit keytool -import -alias outlook -keystore $JAVA_HOME/jre/lib/securit...
服务器响应为:5.7.1Client was not authenticated 解决方法 ://设置邮箱smtp服务器 端口SmtpClient client =newSmtpClient("smtp.sina.com",587); 解决说明:我加上了端口号,587属于发送邮件端口 一般出现此错误会出现在你设置的163的接受者时发生 QQ的没有问题! 错误二 : “/”应用程序中的服务器错误。---...
Hi, I'm try to setup smtp to send a emailout from a application but I keep getting this error "530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM" We dont have exchange on-promise only exchange online. ...
ERROR: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM Does anyone know why I can't send the emails?
smtpServer requires secure connection or client was not authenticated. the server response was: 5.7.0 must issue STARTTLS command first. any help will be much appreciated. thanks eben562012 added the WG-Security label Feb 26, 2019 eben562012 assigned TravisEz13 Feb 26, 2019 iSazonov added ...
com.sun.mail.smtp.SMTPSendFailedException:530 5.7.57 SMTP;Client was not authenticated to send anonymous mail during MAIL FROM properties添加一行配置properties.put("mail.smtp.starttls.enable", "true");即可 Properties properties=newProperties();properties.put("mail.smtp.auth",false);properties.put("...
这应该是你使用的作为发送方的邮件没有开通第三方调用发送服务器,比如网易的邮件你需要设置:
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first j12sm16503842fkf.6 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for ...