From: Deep on
Dear friends
I have to write mail sending program in asp. I know it but what any
further settings is required in my system for sending mail. If yes
please tell me what type of settings are required and how to do it.

because I am getting error like

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/sachin/control.asp, line 24

and line 24 is
set mymail=Server.CreateObject("CDONTS.NewMail")

Thanks in Advance
Vinod

From: Dan on

"Deep" <vinodkus(a)gmail.com> wrote in message
news:3202fae1-41b0-45a4-856a-6a286c518ba9(a)j36g2000prj.googlegroups.com...
> Dear friends
> I have to write mail sending program in asp. I know it but what any
> further settings is required in my system for sending mail. If yes
> please tell me what type of settings are required and how to do it.
>
> because I am getting error like
>
> Error Type:
> Server object, ASP 0177 (0x800401F3)
> Invalid class string
> /sachin/control.asp, line 24
>
> and line 24 is
> set mymail=Server.CreateObject("CDONTS.NewMail")
>
> Thanks in Advance
> Vinod
>

What version of Windows is this running on? CDONTS is deprecated and isn't
present by default on Windows 2000 or higher. You'll need to look at CDO
(CDOSYS) instead which replaced it.

Here is one example of how to use CDO:

http://www.w3schools.com/asp/asp_send_email.asp

--
Dan