//使用c#
1.先添加对jmail.dll的引用
2.using jmail; //说明命名空间.
3.
jmail.Message send=new jmail.Message();
send.Silent=true;
send.Logging=true;
send.Encoding="base64";
send.ContentType="text/html";
send.MailServerUserName ="[email protected]";
send.MailServerPassWord="1";
send.From="[email protected]";
send.AddRecipient(mail,null,null);
send.Priority=2;
send.Subject="名子";
send.Body=MakeHtml(name,pwd).ToString();
send.Send("IP地址",false);
send.Close();
1.先添加对jmail.dll的引用
2.using jmail; //说明命名空间.
3.
jmail.Message send=new jmail.Message();
send.Silent=true;
send.Logging=true;
send.Encoding="base64";
send.ContentType="text/html";
send.MailServerUserName ="[email protected]";
send.MailServerPassWord="1";
send.From="[email protected]";
send.AddRecipient(mail,null,null);
send.Priority=2;
send.Subject="名子";
send.Body=MakeHtml(name,pwd).ToString();
send.Send("IP地址",false);
send.Close();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货