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 ]
|