Could not access 'CDO.Message' object

P

Peter Bladh

Hi

I'm getting the following message when I try to send an email from an aspx
page

Could not access 'CDO.Message' object

.... but it only occures on one my machine. It works fine on my development
computer.


Can anyone give me a hint?

//peterbladh
 
S

S. Justin Gengo

It sounds as if CDO might not even be installed on the machine in question.
This is possible depending on what operating system / software is installed.
CDO is included with a lot of things, but not everything.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
P

Peter Bladh

It seems to be installed (cdonts.dll is there...).

Can you think of any other reason(s)?

//peterbladh
 
S

S. Justin Gengo

Peter,

Hmmmm, if it's there then the only other thing I can think of is if you
aren't setting the server name.

[Mail Object's Name].SmtpServer = "[Your Server Name]"

Are you setting it this way?

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
P

Peter Bladh

cdonts.dll is present...

I use an extarnal Exchange server. The dev. com puter also uses that server
(and that works).

//peter
 
P

Peter Bladh

Yes, I'm setting it like that..

//peter


S. Justin Gengo said:
Peter,

Hmmmm, if it's there then the only other thing I can think of is if you
aren't setting the server name.

[Mail Object's Name].SmtpServer = "[Your Server Name]"

Are you setting it this way?

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche


Peter Bladh said:
It seems to be installed (cdonts.dll is there...).

Can you think of any other reason(s)?

//peterbladh


an
aspx
 

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,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top