HighTechTalks DotNet Forums  

SMTP Connection failure....

Dotnet Framework microsoft.public.dotnet.framework


Discuss SMTP Connection failure.... in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
WAFDOF
 
Posts: n/a

Default SMTP Connection failure.... - 11-19-2007 , 12:16 AM






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?


Reply With Quote
  #2  
Old   
sloan
 
Posts: n/a

Default Re: SMTP Connection failure.... - 11-19-2007 , 12:24 PM







I have called my send email function I have here:
http://sholliday.spaces.live.com/Blo...842A!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.




"WAFDOF" <WAFDOF (AT) discussions (DOT) microsoft.com> wrote

Quote:
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?




Reply With Quote
  #3  
Old   
Jim Rand
 
Posts: n/a

Default Re: SMTP Connection failure.... - 11-19-2007 , 06:26 PM



One problem I had was the connection timeout. Didn't realize that is in
milli-seconds.

"WAFDOF" <WAFDOF (AT) discussions (DOT) microsoft.com> wrote

Quote:
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?




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.