Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

Last post 04-01-2008 2:44 PM by lhp13888. 5 replies.

Sort Posts:

  • Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 5:55 AM
    • Member
      point Member
    • prasathp
    • Member since 12-17-2007, 7:51 AM
    • Posts 9

    hi ,

                i am develop a email project in asp.net with vb.net i have client email id in a table having more than 1000 email ids in my project i fetch all the mail id and using for loop i send email to all the eamil id

    but only 150  email was sent and i got one error "System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    any body help to solve this bug please..........

  • Re: Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 7:10 AM
    • Member
      386 point Member
    • plunkg
    • Member since 05-23-2007, 11:59 PM
    • Cincinnati, OH
    • Posts 97

    Please post your code and we'll see what we can find. 

    If this post helped, please mark it as "answer".
  • Re: Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 7:31 AM
    Answer
    • All-Star
      65,332 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 1:34 PM
    • England
    • Posts 12,708
    • TrustedFriends-MVPs

     In the body of the send loop, did you include any delay? Normally postmasters will insist on only so many email messages per minute.

    Use a call to System.Threading.Sleep(N) ion the body of the loop (where N is time in milli-seconds) to limit the rate of sending.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
    See the FAQ on the correct forum to post at, at http://forums.asp.net/p/1337412/2699239.aspx#2699239
  • Re: Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 9:48 AM
    Answer
    • Contributor
      4,652 point Contributor
    • novicehere
    • Member since 01-28-2008, 7:21 PM
    • New Hampshire, US
    • Posts 853

    Hey hi,

    this might sound silly but was just wondering in the batch of emails........do you have any fake email id's created by you or the user for testing purposes.......the only reason i am saying this is if you do happen to have a fake email id then your smtp server is trying to send to this email id until it reached timed out or undeliverable.......just wondering

    one more approach is to try to catch the error..........here is a sample code

    SmtpClient sClient = new SmtpClient();MailMessage msg = new MailMessage();

    sClient.Host = "localhost";

    sClient.Port = 25;

    try

    {

    sClient.Send(msg);

    }

    catch (SmtpException ex)

    {

    if (ex.StatusCode == SmtpStatusCode.InsufficientStorage)

    {

    //Send again to ensure this email gets sent

    sClient.Send(msg);

    }

    else

    {

    //Handle other SMTP errors here.

    Response.Write("Error: " + ex.Message);

    }

    }

    hope this helps

    Thanks

    Keyboard not found. Please Press < F1 > to RESUME

    Please Remember to Mark as Answer for the post(s) that help you.....so it can help others......Thanks
  • Re: Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 2:18 PM
    • All-Star
      65,332 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 1:34 PM
    • England
    • Posts 12,708
    • TrustedFriends-MVPs

     A further point - which version of ASP.NET are you using?

    Also in you error handling, ensure that you examine any inner exception. 

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
    See the FAQ on the correct forum to post at, at http://forums.asp.net/p/1337412/2699239.aspx#2699239
  • Re: Mass E-Mail System.Net.Mail.SmtpFailedRecipientException: Insufficient system storage. The server response was: Too many recipients"

    04-01-2008, 2:44 PM
    • Member
      49 point Member
    • lhp13888
    • Member since 08-11-2003, 12:21 AM
    • Posts 23

    print the every email receipients to a text file and you will know more. I think the variable is not cleaned before reuse.

    Print HTML Solution
    http://www.powerjs.com
Page 1 of 1 (6 items)