我想通过特殊的电子邮件帐户自动发送邮件,但现在我只知道电子邮件地址: tsp.monitor@qorosauto.com 和密码。那么你知道如何获取 SMTP 服务器吗?下面是我的 C# 代码:
SmtpClient client = new SmtpClient();
client.Host = "What is the SMTP Server, I want to get from email address, can you help me";
string account = "tsp.monitor@qorosauto.com";
string password = "Qoros111";
client.Port = 587;
client.EnableSsl = true;
client.Timeout = 100000;
client.DeliveryMethod = SmtpDeliveryMethod.Network;
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCredential(account, password);