navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

cdo not send email and not displaying error message

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> cdo not send email and not displaying error message
Page: [1]
 
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
cdo not send email and not displaying error message - 8/15/2008 11:07:46   
Hi all,

Can anybody tell me if they've ever come across a cdo email script not working, but not displaying an error messge either? I am not receiving an email, I have all error trapping turned off, and I am not seeing an error message. Any way to tell for sure what's going on?

Carrie
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: cdo not send email and not displaying error message - 8/15/2008 12:27:47   
Seen them many times and it's never really clear unless you check a little more. With CDOSYS, if you're using the cdoSendToPort method and you can't send the email, it usually errors for all reasons.

However if you use the cdoSendUsingPickup method, CDOSYS just drops the email inbto a directory and let's the SMTP engine take it from there. At that point, it considers itself done.

Do you have any access to your SMTP logs and know what email address it's being sent to? Also, if you have host console access, check the bad mail queue / folder on your server.

Hope it helps,
Roger D.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to carrie)
TexasWebDevelopers

 

Posts: 202
Joined: 2/22/2002
From:
Status: offline

 
RE: cdo not send email and not displaying error message - 8/15/2008 12:29:08   
CDOSYS or CDONTS?
In CDONTS I've seen mail go into the queue properly but not be sent by the server--no error message would be generated.
CDOSYS I've seen the object properly created and it looks like the code has processed but still not send an email and not display an error message. Try putting a response.write at the end of the process like this:

ObjSendMail.Send
Set ObjSendMail = Nothing
response.write("If you see this the email has been sent properly")

It's a down and dirty test to see if the SendMail Object has completed the "Send"--If you don't see the text then there is an error in the process (probably in the smtp server setup line of code).

You might want to add this to the top of the page if it's not there already:

<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows Library" -->
<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: cdo not send email and not displaying error message - 8/15/2008 13:07:57   
It's CDO SYS ad the SendToPort method.
I do have a plesk control panel, but I don't think I have access to the SMTP logs - I will have to check.

I do have a response.write under the .Send line, but although I see the code for othe write, I still do not receive the email.

Very, very strange. Wish I could see an error message - it would be so much easier to troubleshoot if I had an error to look at.

Carrie

(in reply to carrie)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> cdo not send email and not displaying error message
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts