关于问题的电子邮件 [英] email regarding problem
本文介绍了关于问题的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以通过一个按钮向2个人发送电子邮件.
例如,如果Jobseeker通过单击应用"按钮进行申请,则邮件将发送到Jobseeker和招聘者两个不同的内容邮件.
因此,有助于解决此问题.
From one button can i send email to 2 person.
for example if jobseeker apply by clicking applying button the mail send to jobseeker and recruiter two different content mail.
so help to resolve this problem.
推荐答案
有一个通用例程可以在此处进行实际发送: ^ ]
要发送给多个人,只需添加第二个
There is a generic routine to do the actual sending here: Sending an Email in C# with or without attachments: generic routine.[^]
To send to multiple people, just add a second
mail.To.Add(new MailAddress(toOther));
行,或改为使用CC/BCC列表.
line, or use the CC / BCC lists instead.
请参见下面的链接
在ASP.Net 2.0中发送电子邮件-反馈表单 [ ^ ]
或
see below link
Send Email in ASP.Net 2.0 - Feed back Form[^]
or
MailMessage message = new MailMessage();
for (int i = 0; i < count; i++)
{
message.To.Add("email");
}
SmtpClient client = new SmtpClient();
client.Send(message);
这篇关于关于问题的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文