阿里云服务器 telnet smtp.exmail.qq.com 465 失败
client.CheckCertificateRevocation = false;
// For demo-purposes, accept all SSL certificates (in case the server supports STARTTLS)
client.ServerCertificateValidationCallback = (s, c, h, e) =>
{
Console.WriteLine('Email server SSL callback.');
return true;
};
赞0
踩0