mailmessage msg = new mailmessage(); msg.from = new mailaddress("[email protected]", "person's name"); msg.to.add(new mailaddress("[email protected]", "addressee's name"); msg.to.add(new mailaddress("[email protected]", "addressee 2's name"); msg.subject = "message subject"; msg.body = "mail body content"; msg.isbodyhtml = true; msg.priority = mailpriority.high; smtpclient c = new smtpclient("mailserver.domain.com"); c.send(msg); |
"person's name" <[email protected]> |
新闻热点
疑难解答
图片精选