Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS Mail


Message #1 by Vicente Amati <vicente_amati@y...> on Tue, 9 Jan 2001 07:27:13 -0800 (PST)
I am having trouble creating my mail object. Here is

my code:

 <%

 Dim oMail

 strTo = Request.Form("To")

 strFrom = Request.Form("From")

 strSubject = Request.Form("Subject")

 strMessage = Request.Form("msg")



 Set oMail = Server.CreateObject("CDONTS.Newmail")

 oMail.To = strTo

 oMail.From = strFrom

 oMail.Subject = strSubject

 oMail.Body = strMessage

 oMail.Send

 Set oMail = Nothing

 Response.Write "Your Message has been sent!"

%>



 I then get this message:Server object error 'ASP 0177

: 800401f3'



 Server.CreateObject Failed



 /asp/newmail.asp, line 11



 Invalid class string

=================================

 Please help me!!! Thanks!!



=====

================================

Vicente Amati

Nomino Technologies

www.nominotechnologies.com

================================



__________________________________________________

Do You Yahoo!?

Yahoo! Photos - Share your holiday photos online!

http://photos.yahoo.com/



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_cdo as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_cdo-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #2 by Scott Watermasysk <swatermasysk@C...> on Tue, 9 Jan 2001 10:58:17 -0500
You might not have CDONTS installed. I do not think it is a default

installation.



-----Original Message-----

From: Vicente Amati [mailto:vicente_amati@y...]

Sent: Tuesday, January 09, 2001 7:06 PM

To: ASP CDO

Subject: [asp_cdo] CDONTS Mail





I am having trouble creating my mail object. Here is

my code:

 <%

 Dim oMail

 strTo = Request.Form("To")

 strFrom = Request.Form("From")

 strSubject = Request.Form("Subject")

 strMessage = Request.Form("msg")



 Set oMail = Server.CreateObject("CDONTS.Newmail")

 oMail.To = strTo

 oMail.From = strFrom

 oMail.Subject = strSubject

 oMail.Body = strMessage

 oMail.Send

 Set oMail = Nothing

 Response.Write "Your Message has been sent!"

%>



 I then get this message:Server object error 'ASP 0177

: 800401f3'



 Server.CreateObject Failed



 /asp/newmail.asp, line 11



 Invalid class string

=================================

 Please help me!!! Thanks!!



=====

================================

Vicente Amati

Nomino Technologies

www.nominotechnologies.com

================================



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_cdo as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_cdo-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #3 by Aftab Ahmad <aftab.ahmad@k...> on Tue, 9 Jan 2001 17:03:37 +0100
Did you configure SMTP mail server?



-----Original Message-----

From: Vicente Amati [mailto:vicente_amati@y...]

Sent: 10. januar 2001 01:06

To: ASP CDO

Subject: [asp_cdo] CDONTS Mail





I am having trouble creating my mail object. Here is

my code:

 <%

 Dim oMail

 strTo = Request.Form("To")

 strFrom = Request.Form("From")

 strSubject = Request.Form("Subject")

 strMessage = Request.Form("msg")



 Set oMail = Server.CreateObject("CDONTS.Newmail")

 oMail.To = strTo

 oMail.From = strFrom

 oMail.Subject = strSubject

 oMail.Body = strMessage

 oMail.Send

 Set oMail = Nothing

 Response.Write "Your Message has been sent!"

%>



 I then get this message:Server object error 'ASP 0177

: 800401f3'



 Server.CreateObject Failed



 /asp/newmail.asp, line 11



 Invalid class string

=================================

 Please help me!!! Thanks!!



=====

================================

Vicente Amati

Nomino Technologies

www.nominotechnologies.com

================================



---

http://www.asptoday.com - the leading site for timely,

in-depth information for ASP developers everywhere.

---

You are currently subscribed to asp_cdo as: $subst('Recip.EmailAddr')

To unsubscribe send a blank email to leave-asp_cdo-$subst('Recip.MemberIDChar')@p2p.wrox.com

Message #4 by "Richard Lasker" <rlasker3@h...> on Wed, 17 Jan 2001 20:03:03 -0000
What are you using to send the mail? IIS? Exchange? You need to make sure

that you have CDO installed on your machine. This is done with the SMTP

Virtual server componet on IIS or the Internet Mailling Component on

Exchange.



Make sure that you have these installed first then try to create your

object.


  Return to Index