private void sendmail_jmail() {//使用jmail进行邮件发送;需要添加引用jmail.dll //jmail.SMTPMailClass mail = new jmail.SMTPMailClass(); jmail.MessageClass msg = new jmail.MessageClass(); msg.From = this.tb_from.Text.Trim(); msg.AddRecipient(this.tb_to.Text.Trim()," Gallon来信",""); msg.Body= this.tb_mailBody.Text.Trim(); msg.Subject = " jamil to est"; msg.MailServerUser...
[ 查看全文 ]