Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CDONTS issue - Not Working after server migration

Reply
Thread Tools

CDONTS issue - Not Working after server migration

 
 
TWB
Guest
Posts: n/a
 
      05-06-2009
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.
%>
 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      05-07-2009
Gazing into my crystal ball I observed TWB <(E-Mail Removed)>
writing in
news:(E-Mail Removed):

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

>
> 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.
> %>
>




--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submit button dead after server migration tatemononai@gmail.com ASP .Net 2 05-25-2005 12:33 AM
CDONTS not working on W2000 Server tshad ASP General 12 11-16-2004 02:05 PM
CDONTS not working using other SMTP Server M P ASP General 6 02-24-2004 01:25 AM
CDONTS not working! Bruce W...1 ASP General 3 11-04-2003 03:50 AM
CDONTS.NewMail - not working...! Steve ASP General 4 08-22-2003 02:07 PM



Advertisments