本文介绍了信箱不可用。服务器响应战:这里没有这样的用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage([email protected],toMail,来自ZAD Global的批准确认为学习中心,messagetosend);



System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(mail.zadglobal.net,25);

系统。 Net.NetworkCredential userinfo = new System.Net.NetworkCredential(info,abc @ 11132);



client.UseDefaultCredentials = false;

client.Credentials = userinfo;

message.IsBodyHtml = true;



client.Send(message);

解决方案

System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage("[email protected]", toMail, "Approval confirmation as study centre from ZAD Global ", messagetosend);

System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient("mail.zadglobal.net", 25);
System.Net.NetworkCredential userinfo = new System.Net.NetworkCredential("info", "abc@11132");

client.UseDefaultCredentials = false;
client.Credentials = userinfo;
message.IsBodyHtml = true;

client.Send(message);

解决方案


这篇关于信箱不可用。服务器响应战:这里没有这样的用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 02:39