如何在一分钟内以Winform发送100封电子邮件 [英] How to send 100 emails in a minute in winform

查看:49
本文介绍了如何在一分钟内以Winform发送100封电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
我有500封邮件,我希望每分钟发送100封邮件.请给我一些C#winform应用程序中的解决方案.非常感谢

Hi!
I have 500 mails and I want that every minute , 100 emails are sent. Please give me some solutions in C# winform application. Thanks a lot

推荐答案

网络上有无数的示例.这只是表明您甚至都没有尝试搜索任何内容. Google for"C#发送电子邮件",您将拿出数亿个示例.

从WinForms应用程序,服务还是ASP.NET应用程序执行此操作都没有关系.代码完全相同.

现在,更大的问题是您的ISP可能不允许您一次发送那么多电子邮件.他们可能会认为您是垃圾邮件发送者,并切断了您的帐户.您必须与他们核对以了解您的限制.
There''s tons of examples all over the web. This just shows you haven''t even tried to search for any. Google for "C# send email" and you''ll come up with hundreds of millions of examples.

It doesn''t matter if you''re doing this from a WinForms app or a service or an ASP.NET app. The code is exactly the same.

Now, your bigger problem is that your ISP may not let you send that many emails all at once. They may think your a spammer and cut your account off. You''ll have to check with them to find out what your limits are.


没有什么不能保证您有任何特定的预定义执行时间,尤其是在联网时.这不是实时系统,并且Internet使得从理论上讲不可能保证响应.

参见 http://en.wikipedia.org/wiki/Real-time_operating_system [ http://en.wikipedia.org/wiki/Real-time_Transport_Protocol [
Nothing can guarantee you any certain predefined execution time, especially with networking. This is not a real-time system, and Internet makes guaranteed response theoretically impossible.

See http://en.wikipedia.org/wiki/Real-time_operating_system[^], http://en.wikipedia.org/wiki/Real-time_Transport_Protocol[^].

—SA


这篇关于如何在一分钟内以Winform发送100封电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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