mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "loginname");
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "Password");
用户名和密码是指的是什么啊?是那里的用户名。
另外 SmtpMail.SmtpServer 入果不指定本机,该怎么写?
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "loginname");
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "Password");
用户名和密码是指的是什么啊?是那里的用户名。
另外 SmtpMail.SmtpServer 入果不指定本机,该怎么写?
那么用户名就是username
密码就是该信箱的密码
smtpserver应该是smtp.163.com