系统存储不足。服务器响应为:4.5.3您的邮件收件人太多。有关的更多信息 [英] Insufficient system storage. The server response was: 4.5.3 Your message has too many recipients. For more information regarding
问题描述
当我尝试向110收件人发送电子邮件时,我得到了这个内部异常......
并且异常无法发送给收件人。
这里是代码...
i am getting this inner exception when i am trying to send email to 110 recipient......
and exception is Unable to send to a recipient.
here is the code...
public void send()
{
try
{
LoademailID();
MailMessage message = new MailMessage();
message.To.Add(emailID.TrimEnd(',')); // emailID is string type variable holding 110 email records from DB
message.Subject = "Testing Email Send";
message.From = new System.Net.Mail.MailAddress("emailID");
message.Body = "TextMessage";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient();
smtp.Host = "smtp.gmail.com";
smtp.Port = 587;
smtp.EnableSsl = true;
smtp.Credentials = new System.Net.NetworkCredential("UserName", "Password");
smtp.Send(message);
Label1.Visible = true;
Label1.Text = "Mail Send Successfully";
}
catch (SmtpFailedRecipientsException ex)
{
Label1.Visible = true;
Label1.Text = ex.FailedRecipient;
}
}
任何想法请帮忙...
谢谢......
any idea pls help...
Thank you...
推荐答案
参考此链接
如何更正错误消息:4.5.3。收件人太多了? [ ^ ]
它声明:
Refer this link
How do I correct error message:4.5.3. Too many recipients?[^]
It states that:
防止此消息弹出的最简单方法是创建具有合理数量的电子邮件地址的分发列表,如果可能的话,少于25个收件人,虽然您的服务器可能允许每个列表上50到75个收件人。您可以通过联系邮件管理员或ISP来了解发送电子邮件的限制。通过保存少量联系人数量的通讯组列表,您应该避免在下次发送大量电子邮件时收到此错误消息。
The easiest way to prevent this message from popping up is to create distribution lists with a reasonable amount of e-mail addresses,less than 25 recipients if possible, although your server may allow between 50 - 75 recipients on each list. You can find out the limits for sending e-mails by contacting the mail administrator or your ISP. By saving a number of distribution lists with less than this number of contacts, you should avoid receiving this error message the next time you send mass emails.
问候......:笑:
Regards..:laugh:
这篇关于系统存储不足。服务器响应为:4.5.3您的邮件收件人太多。有关的更多信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!