Timed out in sending emails with VS 2010 C sharp + .NET 4 RRS feed

  • Question

  • Environment: Visual Studio 2010 + .NET FRAMEWORK 4.0 C# Exchange 2003, Exchange 2010 server

    requirement: sending customized email with attachment to each customer (hundreds)

    The code was developed with Exchange 2003 as the email server. Within 1 minute, the program (.NET Application project) finished and came back.

    After we switched exchange server to Exchange 2010. The program needs 30 minutes to finish sending these emails.

    Seems on the older email server, the emails were just put on a queue and the program came back. On the new exchange server, the emails were sent one by one and came back after all of them were sent.

    I use smtpclient.send to send emails.

    The code was not changed after we switched exchange server. The problem must be on the exchange 2010 settings.

    Thursday, November 7, 2013 11:56 PM