摘要:
C# 发送邮件代码备忘this.txtTo.Text 发送给谁this.txtFrom.Text 来自谁this.txtTitle.Text 邮件标题this.txtContent.Text 邮件内容this.txtPassword.Text 发送者邮箱密码代码如下:MailMessage mailMessage = new MailMessage();mailMessage.To.Add(this.txtTo.Text);mailMessage.From = new System.Net.Mail.MailAddress(this.txtFrom.Text);mailMessage.Subj 阅读全文
posted @ 2011-03-10 23:55 PHP-张工 阅读(904) 评论(0) 推荐(0) 编辑