.NET服务应用程序 - 发送邮件至2634789用户发送邮件、应用程序、用户、NET

2023-09-04 00:51:31 作者:做你怀中猫

我们已经取得了.NET服务应用程序发送电子邮件给所有注册用户我们的网站。

We have made a .NET service application to send emails to all the registered users of our website.

我们有2634789的用户和邮件已去到所有的人。在节目中,我获取的时间与100名用户的信息(以避免数据库调用)和存储,在程序(在一个DataTable),然后异步发送邮件。同样,我这样做对剩余的用户。

We have 2,634,789 users and the mail has to go to all of them. In the program I am fetching the information related to 100 users at a time (to avoid database calls) and storing that in the program (in a DataTable) and then sending the mail asynchronously. Likewise I am doing it for the remaining users.

现在我的疑问是它最好的办法还是有实现这一目标的任何其他的最佳途径?请提供参考链接(如果需要)。

Now my doubt is that is it the best way or are there any other best ways to achieve this? Please provide the reference link (if needed).

非常感谢, 问候。 Bhavna。

Many Thanks, Regards. Bhavna.

感谢大家的时间和回复。

Thank you all for your time and reply.

我们使用的是ISP的SMTP发送邮件了。

We are using ISP's SMTP to send our mails.

我发送100封邮件的异步电子邮件的方法的时候。另外它做我需要做什么?

I am sending 100 emails at a time with asynchronous email methodology. Further to it do i need to do anything?

感谢和问候, Bhavna。

Thanks and Regards, Bhavna.

推荐答案

你的方法将花费太多时间。我已经外包这样的任务,以批量邮寄服务,这是白名单,并发出大量电子邮件的能力。

Your approach will take too much time. I have outsourced such tasks to bulk mailing services that are white-listed, and have the capability to send out bulk emails.

如果你还是结束了,正如你所说发送尽可能多的邮件,你很可能会被指定为垃圾邮件发送者。你也应该看看自己的白名单

If you still end up send as many emails as you mentioned, you are likely to be designated as a spammer. You should also look into whitelisting yourself.