发送电子邮件c#.net [英] send email c#.net

查看:74
本文介绍了发送电子邮件c#.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在datagridview中有两列,则第一列是电子邮件,第二列是复选框

如何通过outlook将电子邮件发送到datagridview中的电子邮件并勾选(选中)复选框单击一下按钮

if i have two column in datagridview, the first column is email and second one is checkbox
how can i send email through outlook to the email in the datagridview and checkbox is ticked(checked) person separately (one by one) once clicking a button

推荐答案

 

您可以遍历数据行,如果选中了复选框,可以发送邮件,发送邮件的MailMessage类请参阅以下链接以获取参考

you can iterate through the datarows and can send mail if the checkBox is checked with the MailMessage class to send the mails see the following link for ref

http://msdn.microsoft.com/en-us/library/system.net.mail .mailmessage.aspx

 

希望这有帮助,

 

问候

Vallarasu S.

Vallarasu S.


这篇关于发送电子邮件c#.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆