Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Location
    chennai
    Posts
    25

    Unanswered: mailing without using CDONTS

    hi all,
    i have used CDONTS for mailing.that was not working.

    so,is there any way to send mail using ASP...

    i am eagerly awaiting for yours reply with code....

    it will be very helpful to me...

    Thanks
    Sakthi

  2. #2
    Join Date
    Jan 2003
    Location
    New York
    Posts
    160

    Re: mailing without using CDONTS

    I use to use CDonts then all of a sudden it stopped working

    now i am using JMail

    Its free and very easy to use

    http://www.dimac.net/ <-- JMail

    it comes with sample code

    Originally posted by j_sakthivel
    hi all,
    i have used CDONTS for mailing.that was not working.

    so,is there any way to send mail using ASP...

    i am eagerly awaiting for yours reply with code....

    it will be very helpful to me...

    Thanks
    Beyond Limitation

  3. #3
    Join Date
    Dec 2003
    Posts
    454
    Do you know what is wrong with the CDonts? Did you try this?

    <%
    Sub SendEmail(mailfrom, mailto, subject, msg)
    Dim objMail
    Set objMail = CreateObject( "CDONTS.Newmail" )
    objMail.From = mailfrom
    objMail.To = mailto
    objMail.Subject = subject
    objMail.Body = msg
    objMail.Send
    Set objMail = Nothing
    End Sub
    %>

  4. #4
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    You might try switching from CDONTS (which is being phased out) to the newer CDO such as can be seen in the E-mail Attachment example at http://www.asp101.com/samples
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •