Some mail get stuck in Queue folder RRS feed

  • Question

  • User1886661451 posted

    I have a web application created in .NET.

    I use smtp to send mail. Most of the mail gets send normally. But some mail will not arrive. I've found out that that got stuck in the folder C:\Inetpub\Mailroot\Queue.

    Obviously (I think) the configuration of SMTP is not the problem here, or all mail would not be send.

    Can anyone help me to solve this problem?

    Wednesday, May 13, 2015 9:06 AM

All replies

  • User1183424175 posted


    You can try disable or enlarge the value of "Limit number of connections to". In IIS manager, SMTP Virtual Server > Properties > Delievery > Outbound Connections.

    And please check if event log has some error messages. For more information, please refer to the document:



    Wednesday, May 13, 2015 10:40 PM
  • User1886661451 posted

    Unfortunately, the proposed solution doesn't work. I disabled Limit number of connections to no avial. The logfile shows this info after activating and sending mail to an address that I know has a problem:

    #Software: Microsoft Internet Information Services 8.0
    #Version: 1.0
    #Date: 2015-05-16 13:45:44
    #Fields: time c-ip cs-method cs-uri-stem sc-status
    13:45:44 - - 0
    13:45:44 EHLO - 0
    13:45:44 - - 0
    13:45:44 HELO - 0
    13:45:44 - - 0
    13:45:44 QUIT - 0
    13:45:44 - - 0
    13:46:06 EHLO - 250
    13:46:06 MAIL - 250
    13:46:06 RCPT - 250
    13:46:06 DATA - 250

    I have googled on this info, but it didn't do any good. All I think it means is that everything is okay.

    The info in the links doesn't help me. The point is, I have a webapplication for a client that has to send e-mails to member of different companies, so, different domains. My server is a VPS,is not in a domain and there is no DNS. Most of the mails arrive without a problem. Some mail end up in the queue folder.

    I have added the IP-address of the server to Properties - General - Advanced. But it didn't help

    In my C# code I've changed the localserver in the value below. But than it wouldn't send at all.

    SmtpClient SmtpMail = new SmtpClient("address server");

    Saturday, May 16, 2015 10:28 AM