SendMail[
(*收件人的地址*)
"To" -> "xxx@xxx.com",
(*主题*)
"Subject" -> "Username Test",
(*内容*)
"Body" -> "Text",
(*发件人的邮箱*)
"From" -> "xxx@xxx.com",
(*服务器*)
"Server" -> "smtp.163.com",
(*发件人的名字*)
"UserName" -> "wmn",
(*密码*)
"Password" -> "***********",
(*端口号*)
"PortNumber" -> 465,
(*加密方式*)
"EncryptionProtocol" -> "SSL"
]
比如上面那样就登录不了
报错如下
换成qq的邮箱还是不行