发送电子邮件至2000 [英] Send email upto 2000

查看:139
本文介绍了发送电子邮件至2000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发送最多2000的电子邮件,但托管的限制是我每小时只能发送60封电子邮件。代码如下:

我可以在更改代码后立即发送最多2000封电子邮件



我尝试过:



I want to send email upto 2000 but restriction from hosting is this that i can send only 60 email per hour. The code is given below.
It is possible that i can send email upto 2000 at once after changing in my code

What I have tried:

MailMessage mail = new MailMessage();
                   mail.To.Add(ToEmail);
                   mail.From = new MailAddress(fromEmail);
                   mail.Subject = "Subject";
                   string Body = "Email Body Message;
                   mail.Body = Body;
                   mail.IsBodyHtml = true;
                   SmtpClient smtp = new SmtpClient();
                   smtp.Host = "smtp from Hosting";
                   smtp.Port = 25;
                   smtp.UseDefaultCredentials = false;
                   smtp.Credentials = new System.Net.NetworkCredential("email", "password");// Enter seders User name and password
                   //smtp.EnableSsl = true;
                   smtp.Send(mail);

推荐答案

如果您的托管平台设置了限制,那么您需要与他们交谈而不是我们。



您或许可以通过支付额外资源立即发送2000.在这种情况下你不需要改变你的代码。



或者批量发送电子邮件并通过2天课程。



或者,重新考虑您希望发送2000封电子邮件的原因。
If your hosting platform has set the limit then you need to talk to them not us.

You may be able to send 2000 at once by paying for the additional resource. You wouldn't need to change your code in that case.

Or batch up your emails and send them over the course of 2 days.

Alternatively, reconsider why you would want to send 2000 emails.


否。如果您的托管服务限制您每小时60,这是为了防止他们被标记为spambot或批量市场营销人员。这很正常 - 大多数hostign服务会因为这个原因限制电子邮件,虽然60 /小时似乎有点低。



这意味着限制将内置在邮件服务器上 - 如果你超过托管服务限制,那么你的电子邮件服务将被暂停,如果你经常超出限制,你可能需要申请将其取回。



您的选择是:

1)与您的托管服务商谈,看看您是否可以获得修改限额 - 您可能需要为此付费。

2 )查找批量邮件并与他们注册 - 这几乎肯定会花费。
No. If your hosting service is restricting you to 60 per hour, that's to prevent them being flagged as a spambot, or a bulk marketeer. This is pretty normal - most hostign services will limit emails for that very reason, though 60/hour seems a little low.

And that means the restriction will be built in at the mail server - if you exceed the hosting service limit then your email service will be suspended, and you may have to apply to get it back if you exceed the limit too often.

Your options are:
1) Talk to your hosting service and see if you can get a revised limit - you may have to pay for this.
2) Find a bulk mailer and sign up with them - this will almost certainly cost as well.


这篇关于发送电子邮件至2000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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