Mail Sending program

Discussion in 'ASP General' started by Deep, May 27, 2010.

  1. Deep

    Deep Guest

    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
     
    Deep, May 27, 2010
    #1
    1. Advertising

  2. Deep

    Dan Guest

    "Deep" <> wrote in message
    news:...
    > 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
     
    Dan, May 27, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    55,508
  2. =?Utf-8?B?T3Bh?=

    Sending Mail via System.Net.Mail problem

    =?Utf-8?B?T3Bh?=, Jan 25, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    3,618
    sachya
    Jan 31, 2006
  3. =?ISO-8859-1?Q?Andr=E9s_Berenguer?=

    Sending e-mail with attachments with the default e-mail client

    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=, Aug 29, 2003, in forum: Java
    Replies:
    0
    Views:
    512
    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=
    Aug 29, 2003
  4. Replies:
    0
    Views:
    1,389
  5. Luke
    Replies:
    2
    Views:
    4,739
    Nigel Wade
    Mar 15, 2007
Loading...

Share This Page