IIS and SMTP - HOWTO: Detect outgoing email has left Queue folder

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > January 2006 > HOWTO: Detect outgoing email has left Queue folder





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author HOWTO: Detect outgoing email has left Queue folder
Dan Sikorsky

2006-01-22, 8:57 pm

I can send email using C# and SMTP, but keep closing the connection before
the .eml file has left the Queue folder. The length of time the .eml file
stays in the Queue folder is dependent on the size of that file; big or
many attachments increases the time.

If I start an internet connection, issue the smtp mail send and then close
the connection in my C# program, I need to wait until the .eml file has left
the Queue folder. Otherwise, prematurely closing the internet connection
causing IIS to abort the send.

How can I detect that the .eml file has left the Queue folder?

--
Dan Sikorsky, MSCS BSCE BAB



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com