|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SMTP Connection failure....am having with Windows Server 2003 SMTP connection failure. I have a small application written in ASP.net that takes user input and then sends the input via Email using system.net.mail. When the user clicks the submit button an email is sent. The first time the submit button is clicked the email sent is fine, but subsequent emails got an error message..unable to connect to the SMTP server. If I take no action and wait 10-20 minutes then run the exact same program again the email will be sent but again there is a delay before it will allow any other emails to be sent. Seems to be a setting I am missing....Any ideas what I shoud look for? I have followed the step-by-step SMTP setup instructions I have seen on the forums and no change.... Is there some sort of timeout setting on the IIS SMTP properties that does not allow a connection for a specified length of time? I have called my send email function I have here:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry (downloadable) over and over in a loop, without issue. I have a max out of about 50 emails I use this for. Without your code, it is difficult to figure out what you're doing. Create a SMALL but FULLY FUCTIONAL sample of your code with reproduces the problem. Show quote "WAFDOF" <WAF***@discussions.microsoft.com> wrote in message news:3133FA7E-B001-44E5-80D2-DAFE943A3BFD@microsoft.com... >I was wondering if someone could point me to the correct Forum for an issue >I > am having with Windows Server 2003 SMTP connection failure. > > I have a small application written in ASP.net that takes user input and > then > sends the input via Email using system.net.mail. When the user clicks the > submit button an email is sent. The first time the submit button is > clicked > the email sent is fine, but subsequent emails got an error message..unable > to > connect to the SMTP server. > > If I take no action and wait 10-20 minutes then run the exact same program > again the email will be sent but again there is a delay before it will > allow > any other emails to be sent. > > Seems to be a setting I am missing....Any ideas what I shoud look for? I > have followed the step-by-step SMTP setup instructions I have seen on the > forums and no change.... > > Is there some sort of timeout setting on the IIS SMTP properties that does > not allow a connection for a specified length of time? > One problem I had was the connection timeout. Didn't realize that is in
milli-seconds. Show quote "WAFDOF" <WAF***@discussions.microsoft.com> wrote in message news:3133FA7E-B001-44E5-80D2-DAFE943A3BFD@microsoft.com... >I was wondering if someone could point me to the correct Forum for an issue >I > am having with Windows Server 2003 SMTP connection failure. > > I have a small application written in ASP.net that takes user input and > then > sends the input via Email using system.net.mail. When the user clicks the > submit button an email is sent. The first time the submit button is > clicked > the email sent is fine, but subsequent emails got an error message..unable > to > connect to the SMTP server. > > If I take no action and wait 10-20 minutes then run the exact same program > again the email will be sent but again there is a delay before it will > allow > any other emails to be sent. > > Seems to be a setting I am missing....Any ideas what I shoud look for? I > have followed the step-by-step SMTP setup instructions I have seen on the > forums and no change.... > > Is there some sort of timeout setting on the IIS SMTP properties that does > not allow a connection for a specified length of time? >
Other interesting topics
|
|||||||||||||||||||||||