通过VB网络发送批量电子邮件,并为每个单独的客户端提供详细信息 [英] Sending Bulk Emails via VB net with specifics for each separate client

查看:85
本文介绍了通过VB网络发送批量电子邮件,并为每个单独的客户端提供详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会尝试解释我想要做什么,看看是否可能。



我必须向客户发送电子邮件提醒。我现在可以向所有客户发送批量电子邮件,但是

无法弄清楚如何告诉每个单独的客户他们自己的预约时间和日期。



现在我有一个表格,可以按日期范围查询所有upcomming约会。

表格上有数据网格视图和文本框。它全部绑定到一个数据集。

我可以使用电子邮件和另一个带有客户名称和约会日期的文本框填充多行texbox。



我理解,如果我发送批量电子邮件作为BCC,那么其他客户端将无法看到所有电子邮件地址,只是他们自己的电子邮件地址。



但是;因为这是一个约会提醒我想把客户的姓名和约会日期放到电子邮件正文中。对于所有客户来说,主题可以是相同的,并且可以是Just A Friendly Reminder。



有没有办法做到这一点,任何人都可以找到他们可以指出的例子。不必是代码,只是一些想法'它已经完成了所以我知道它可以完成。我不想发送20或50封电子邮件给不同的客户,但如果这是必须要做的,我想知道最简单的自动方式。



我找到了一个这样做的程序......他们是如何通过软件做到的?

http://www.eveterinarysoftware.com/index.php/features/reminders/#!prettyPhoto [pg_1] / 1 / [ ^ ]

I will try to explain what I am trying to do to see if it''s possible.

I have to send email reminders to clients. I can now just send bulk emails to all clients but
can''t figure out how to tell each separate client about their own appointment time and date.

Right now I have a form and can query all upcomming appointments by date ranges.
The form has a datagridview and textboxes on it. It''s all bound to a dataset.
I am able to fill a multiline texbox with the email and another textbox with the name of the client and the appointment date.

I understand if I send bulk emails as BCC''s that the other clients will not see all of the email addresses, just their own.

However; since it''s an appointment reminder I want to put the clients name and date of their appointment into the body of the email. The subject can be the same for all clients and would be something like "Just A Friendly Reminder".

Is there a way to do this and would anyone have examples that they can point me to. Doesn''t have to be code, just some idea''s where it''s been done so I know it can be done. I don''t want to send say 20 or 50 emails to separate clients, but if that''s how it has to be done I would like to know the easiest automated way to do it.

I found a program that does this...how are they doing this through the software?
http://www.eveterinarysoftware.com/index.php/features/reminders/#!prettyPhoto[pg_1]/1/[^]

推荐答案

这样的东西叫做mailmerge。在Google上搜索以找到关于如何执行此类操作的一些好结果。



对于考试(页面底部的帖子包含一些示例的链接):

http:// social.msdn.microsoft.com/forums/en-US/vbide/thread/da93c076-34c2-4d3b-a026-835b4c0ba51d/ [ ^ ]



祝你好运!
Something like this is called a mailmerge. Search it on google to find some good results on howto perform such operation.

For examle (a post on the bottom of the page has links to some examples):
http://social.msdn.microsoft.com/forums/en-US/vbide/thread/da93c076-34c2-4d3b-a026-835b4c0ba51d/[^]

Good luck!


这篇关于通过VB网络发送批量电子邮件,并为每个单独的客户端提供详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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