CDONTS issue - Not Working after server migration

T

TWB

Hi All.

I've got an asp page using CDONTS to send an email. It was working
fine until Godaddy migrated me to a different server. I want to be
clear, I am quite sure the script is OK (but I'll put it at the end of
the post just in case), there are no error messages and the redirect
works like a charm. The issue is that the email does not appear to be
getting sent. We've tested numerous email addresses, but they are all
in working order.

Godaddy says that CDONTS is working on their server, so they don't
know what it is.

Let's assume that the form and asp page are working. My exchange
server is working as well. CDONTS is working on the server. What
could possibly be causing this issue.

They were talking about domain A records and MX records, but
everything was working just fine until they migrated me to this
server.

Any experts got ideas?????????????????

Sample ASP Page Code. This is the only code in the file. Is it
missing anything?
-------------------------------------------------------------------------------------------------------------------
<%@ Language="VBSCRIPT" %>
<%
dim from
dim body
dim subject

from = request.form("from")
body = request.form("comments")
subject = request.form("name")
%>

<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = from
objMail.Subject = subject
objMail.To = "myhardcodedemailaddress"
objMail.Body = body
objMail.Send

Set objMail = Nothing
Response.redirect "thanks.htm" '<- auto-redirection
'You must always do this with CDONTS.
'Change the page name to one that exists on your site.
%>
 
A

Adrienne Boswell

Gazing into my crystal ball I observed TWB <[email protected]>
writing in
Hi All.

I've got an asp page using CDONTS to send an email. It was working
fine until Godaddy migrated me to a different server. I want to be
clear, I am quite sure the script is OK (but I'll put it at the end of
the post just in case), there are no error messages and the redirect
works like a charm. The issue is that the email does not appear to be
getting sent. We've tested numerous email addresses, but they are all
in working order.

Godaddy is a great registrar, but IMHO, sucks at hosting.
Godaddy says that CDONTS is working on their server, so they don't
know what it is.

Make sure the relaying is allowed for the sender. That can sometimes be
an issue.

You know you would be better off with CDOSYS, don't you? It's not a big
deal to change your script to use CDOSYS, and it's better supported.
Let's assume that the form and asp page are working. My exchange
server is working as well. CDONTS is working on the server. What
could possibly be causing this issue.

They were talking about domain A records and MX records, but
everything was working just fine until they migrated me to this
server.

If they moved you to another server, it probably has a different ip
address, so the A and MX records could be affected.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top