Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!  
thegrind


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-09-05 07:49 AM

Hey all...

I am losing my mind with this one. I had a simple ASP page with a
CDONTS script that would send a message to a friend. It worked perfect
for months. It suddenly stopped working. The actual script works
perfect (as far as creating the message) and no error msgs appear to
the user on the website. The message is being created but its being
held in the QUEUE folder and then eventually brought into the BADMAIL
folder a few days later.

I am completely out of ideas on how to troubleshoot. I don't have a
clue as to what to look for next.

Here's where I am at:

Server: Windows 2003 Standard
Windows Firewall ( On w/ port 25 exception) - no add'l firewalls
IIS 6.0

The code:  vbscript

<%
' *** Construct CDO Email.
' *** Send Product To A Friend.
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.To = Request.Form("friend_email")
objMail.From = Request.Form("your_email")
objMail.Subject = "I thought you should see
this..."
objMail.Body = Request.Form("message_body")
objMail.Send
Set objMail = Nothing
%>

messages in the Queue folder:

"This is an automatically generated Delivery Status Notification.
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipients has been delayed.
friend_email@xxxxxxxxxx........"

messages in the Badmail folder:

"This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, due to being
unable to connect successfully to the destination mail server.
friend_email@xxxxxxxxxx........"

I don't really have much else to go on. Can someone please get me going
in the right direction to figuring this out.

Again.. it was working perfect at one time on this same server. Now no
messages will send. They all sit in the Queue?

Thank you in advance.






[ Post a follow-up to this message ]



    Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!  
Jake Marx


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-09-05 10:52 PM

Hi thegrind,

Are you able to successfully send an email to a recipient via telnet on port
25 (from the web server)?

http://support.microsoft.com/kb/q153119/

--
Regards,

Jake Marx
www.longhead.com


[please keep replies in the newsgroup - email address unmonitored]


thegrind wrote:
> Hey all...
>
> I am losing my mind with this one. I had a simple ASP page with a
> CDONTS script that would send a message to a friend. It worked perfect
> for months. It suddenly stopped working. The actual script works
> perfect (as far as creating the message) and no error msgs appear to
> the user on the website. The message is being created but its being
> held in the QUEUE folder and then eventually brought into the BADMAIL
> folder a few days later.
>
> I am completely out of ideas on how to troubleshoot. I don't have a
> clue as to what to look for next.
>
> Here's where I am at:
>
> Server: Windows 2003 Standard
> Windows Firewall ( On w/ port 25 exception) - no add'l firewalls
> IIS 6.0
>
> The code:  vbscript
>
> <%
> ' *** Construct CDO Email.
> ' *** Send Product To A Friend.
> Set objMail = Server.CreateObject("CDONTS.Newmail")
>                objMail.BodyFormat = 0
>                objMail.MailFormat = 0
>                objMail.To = Request.Form("friend_email")
>                objMail.From = Request.Form("your_email")
>                objMail.Subject = "I thought you should see
> this..."
>                objMail.Body = Request.Form("message_body")
>                objMail.Send
> Set objMail = Nothing
> %>
>
> messages in the Queue folder:
>
> "This is an automatically generated Delivery Status Notification.
> THIS IS A WARNING MESSAGE ONLY.
> YOU DO NOT NEED TO RESEND YOUR MESSAGE.
> Delivery to the following recipients has been delayed.
>       friend_email@xxxxxxxxxx........"
>
> messages in the Badmail folder:
>
> "This is an automatically generated Delivery Status Notification.
> Unable to deliver message to the following recipients, due to being
> unable to connect successfully to the destination mail server.
>       friend_email@xxxxxxxxxx........"
>
> I don't really have much else to go on. Can someone please get me
> going in the right direction to figuring this out.
>
> Again.. it was working perfect at one time on this same server. Now no
> messages will send. They all sit in the Queue?
>
> Thank you in advance.







[ Post a follow-up to this message ]



    Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!  
thegrind


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-09-05 10:52 PM

Thanks Jake for a step in the right direction. I cannot send via
telnet. I get to step 3 or 4 to tell the server who the message is from
/ to and Im getting the following error message returned:

530 5.7.3 Client was not authenticated

550. 5.7.1 Unable to relay for user@testdomain.com

I have very little understanding of Authentication as well as Relaying.
And what I don't understand is why this was working previously. Nothing
has been changed from the previous settings. Could this have anything
to do with my ISP where the server resides? If so.. what is the
question that I should ask them?

My Authentication settings for IIS SMTP are: Anonymous

Relay settings: Allow only the list below is selected (my server name
and ip are in the list)

Any additional help appreciated. Thanks.






[ Post a follow-up to this message ]



    Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!  
thegrind


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-09-05 10:52 PM

Problem fixed. It was a DNS issue. My ISP recently updated their DNS
and did not think this server would be effected.

Thanks again.






[ Post a follow-up to this message ]



    Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help!  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-13-05 12:49 PM

On 8 Nov 2005 19:45:16 -0800, "thegrind" <thegrind@comcast.net> wrote:

>Hey all...
>
>I am losing my mind with this one. I had a simple ASP page with a
>CDONTS script that would send a message to a friend. It worked perfect
>for months. It suddenly stopped working. The actual script works
>perfect (as far as creating the message) and no error msgs appear to
>the user on the website. The message is being created but its being
>held in the QUEUE folder and then eventually brought into the BADMAIL
>folder a few days later.
>
>I am completely out of ideas on how to troubleshoot. I don't have a
>clue as to what to look for next.
>
>Here's where I am at:
>
>Server: Windows 2003 Standard
>Windows Firewall ( On w/ port 25 exception) - no add'l firewalls
>IIS 6.0
>
>The code:  vbscript
>
><%
>' *** Construct CDO Email.
>' *** Send Product To A Friend.
>Set objMail = Server.CreateObject("CDONTS.Newmail")
>                objMail.BodyFormat = 0
>                objMail.MailFormat = 0
>                objMail.To = Request.Form("friend_email")
>                objMail.From = Request.Form("your_email")
>                objMail.Subject = "I thought you should see
>this..."
>                objMail.Body = Request.Form("message_body")
>                objMail.Send
>Set objMail = Nothing
>%>
>
>messages in the Queue folder:
>
>"This is an automatically generated Delivery Status Notification.
>THIS IS A WARNING MESSAGE ONLY.
>YOU DO NOT NEED TO RESEND YOUR MESSAGE.
>Delivery to the following recipients has been delayed.
>       friend_email@xxxxxxxxxx........"
>
>messages in the Badmail folder:
>
>"This is an automatically generated Delivery Status Notification.
>Unable to deliver message to the following recipients, due to being
>unable to connect successfully to the destination mail server.
>       friend_email@xxxxxxxxxx........"
>
>I don't really have much else to go on. Can someone please get me going
>in the right direction to figuring this out.
>
>Again.. it was working perfect at one time on this same server. Now no
>messages will send. They all sit in the Queue?

First, check your SMTP logs.  You may be getting refused by the
destination.  Basically, this is happening because your SMTP server
can't connect to the destination.  Another likely cause is a DNS
problem.  See if you can resolve the destination's MX record from the
server using NSLookup.  And make sure it's a valid email address in
the first place.

Jeff





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register