IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 18th, 2006, 08:46 AM
anshugiri anshugiri is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 29 anshugiri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 35 m 54 sec
Reputation Power: 0
Mail Stuck in Queue Folder - IIS SMTP Virtual Server - Windows XP Service Pack 2

Hi, I have used SMTP Virtual server for IIS before with win xp sp1 and it relayed the messages successfully. However I installed sp2 and now all the messages get stuck in the queue folder in c:/windows/intepub/mailroot/queue. Can anyone tell me what the problem is. I have opened port 25 in the Windows firewall exception list. Is there a solution.

Reply With Quote
  #2  
Old July 13th, 2006, 07:44 AM
derf derf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 derf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 26 sec
Reputation Power: 0
Exclamation Could it be the problem I found

I came across a problem sending emails out from a website that we host. If anyone is having any similar problems the following may help explain what is going on and provide a work around.

The emails are sent out from application code using CDONTS through the standard IIS SMTP service via a proxy (smarthost) which is the standard smtp server(s).

The symptom is that emails either take a very long time to reach users, or are never being received.

The problem has turned out to be the low level communications between the IIS smtp service and the proxy smtp server. The text of the email message in the DATA message is not terminated correctly by the IIS smtp service. It should have a "." (full-stop) on a separate line at the end of the text, but instead the "." is just added to the last line of the email, not on a separate line unless the email happens to already have a crlf on its end.

The result is that the two ends of the connection hang until the network times out. That email is never sent (it eventually gives up on it) and other emails being sent are delayed for substantial periods of time.

The work around is to ensure that all email messages have a crlf on the end of them, this ensures that the .<crlf> added on the end is on a separate line.

It is unclear what changed to start the problem as no application code was changed around that time (so far as we can tell). It is also possible that it only relates to certain email formats (in this case MIME with a pure text body).

Reply With Quote
  #3  
Old August 20th, 2010, 02:20 AM
moodacuda moodacuda is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2010
Posts: 1 moodacuda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 7 sec
Reputation Power: 0
Solving the problem

I had exactly the same problem. I solved the problem. If you have Server software installed, just go make sure your DNS Server is running. Somehow that service stopped. Dont know why.


Quote:
Originally Posted by derf
I came across a problem sending emails out from a website that we host. If anyone is having any similar problems the following may help explain what is going on and provide a work around.

The emails are sent out from application code using CDONTS through the standard IIS SMTP service via a proxy (smarthost) which is the standard smtp server(s).

The symptom is that emails either take a very long time to reach users, or are never being received.

The problem has turned out to be the low level communications between the IIS smtp service and the proxy smtp server. The text of the email message in the DATA message is not terminated correctly by the IIS smtp service. It should have a "." (full-stop) on a separate line at the end of the text, but instead the "." is just added to the last line of the email, not on a separate line unless the email happens to already have a crlf on its end.

The result is that the two ends of the connection hang until the network times out. That email is never sent (it eventually gives up on it) and other emails being sent are delayed for substantial periods of time.

The work around is to ensure that all email messages have a crlf on the end of them, this ensures that the .<crlf> added on the end is on a separate line.

It is unclear what changed to start the problem as no application code was changed around that time (so far as we can tell). It is also possible that it only relates to certain email formats (in this case MIME with a pure text body).

Reply With Quote
  #4  
Old August 21st, 2010, 01:16 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,233 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 11 m 5 sec
Reputation Power: 4445
Thanks for your input, but if you didn't notice this topic is over 4 years old. Please try not to resurrect ancient topics, thanks.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #5  
Old January 26th, 2013, 04:35 PM
faisalismail faisalismail is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 2 faisalismail User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 24 sec
Reputation Power: 0
Send email using IIS windowxp

I have uploaded tutorial to send email easily using Windowsxp IIS configuration
===> adf.ly/HpXEU

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsSystem AdministrationIIS > Mail Stuck in Queue Folder - IIS SMTP Virtual Server - Windows XP Service Pack 2

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap