SendSMTP API Fails after 60 Seconds

ID: Q216102


The information in this article applies to:


SYMPTOMS

Although the SendSMTP component works correctly in a transactional Commerce pipeline, when the same code is run in Microsoft Transaction Server (where the SendSMTP component is called by another components), e-mail messages may not get sent, and no error messages are logged.


CAUSE

If the entire transaction takes more than 60 seconds, Transaction Server will time out.


WORKAROUND

To work around this problem, do the following:

  1. Click Start, point to Programs, select Windows NT 4.0 Option Pack, select the Microsoft Transaction Server folder, and choose Transaction Server Explorer.


  2. Expand the Microsoft Transaction Server folder and then expand the Computers folder.


  3. Right-click on the My Computer icon and choose Properties.


  4. Click the Options tab.


  5. Change the "Transaction will timeout in" value to 120 seconds.


If you set the timeout value to 0, the transaction will never timeout. Microsoft Transaction Server will also shut down a process that is idle for three minutes.

Additional query words: MTS, COM, TIMEOUT


Keywords          : 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : 

Last Reviewed: February 24, 1999