all groups > iis smtp nntp > november 2005 >
You're in the

iis smtp nntp

group:

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



Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help! thegrind
11/8/2005 7:45:16 PM
iis smtp nntp: 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.
Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help! Jake Marx
11/9/2005 9:29:29 AM
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]


[quoted text, click to view]

Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help! thegrind
11/9/2005 11:49:28 AM
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.
Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help! thegrind
11/9/2005 12:07:38 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.
Re: Send via ASP Page w CDONTS - Mail Stuck In SMTP Queue - Please help! jeff.nospam NO[at]SPAM zina.com
11/13/2005 12:00:00 AM
[quoted text, click to view]

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.

AddThis Social Bookmark Button