在Winform应用程序C#中发送电子邮件时出现问题 [英] Problem in sending email in winform application C#

查看:90
本文介绍了在Winform应用程序C#中发送电子邮件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有2000封电子邮件要发送给我的客户.
但是我想要,它一次发送400封电子邮件.
然后它停止一段时间(例如30秒),然后继续发送.
我该怎么办?

请帮我!

在此先感谢.

Hi All,

I have 2000 emails to send to my customers.
But I want that, it sends 400 emails at a time.
Then it stops for a time (ex 30s) and continue to send.
How can I do that?

Please help me!

Thanks in Advance.

推荐答案

这是服务器处理500封电子邮件所需的时间.
它也可能是邮件服务器上的设置-我建议您不要更改此设置(除非绝对必要).

服务器可能需要一些时间来一次发送500张,并且30秒的间隔应该是理想的.
This is either the time required by the server to process 500 emails.
It may also be setting on the mail server - I would recommend you do not change this setting (unless absolutely required).

The server probably needs some time to send out 500 at one shot and a 30 second gap should be ideal.


服务器可能需要30秒才能做出响应.因此请不要更改代码中的任何设置.30秒不会影响任何内容.
It may take 30seconds for the server to respond. so don''t change any settings in your code.30 seconds would not affect anything.


这篇关于在Winform应用程序C#中发送电子邮件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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