Help - Search - Members - Calendar
Full Version: CDONT
Hostony Board > General Support > General Support
soumyajit
CDONT Mail is not working through ASP. Please tell me which mail script should I use in our server.
Vanya
You can use ASPEMAIL, AspSmartMail, Dundas Mailer or Dimac W3 Jmail.
soumyajit
In ASPMail how do I send a HTML based email ???
Alec
Here is an AspSmartMail script example:

CODE
<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartMail : Sample 1</H1>
<HR>
<%

    On error resume next

    Dim mySmartMail
    Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail")

'    Mail Server
'    ***********
    mySmartMail.Server = "mail.yourdomain.com"

'    From
'    ****
    mySmartMail.SenderName = "Your Name"
    mySmartMail.SenderAddress = "youremail@yourdomain.com"

'    To
'    **
    mySmartMail.Recipients.Add "yourfriend@anydomain.com", "Friend's name"

'    Message
'    *******
    mySmartMail.Subject = "aspSmartMail Sample 1"
    mySmartMail.Body = "This mail has been sent with aspSmartMail."

'    Send the message
'    ****************
    mySmartMail.SendMail

    if Err.Number<>0 then

 Response.write "Error: " & Err.description

    else

 Response.write "An e-mail has just been sent to " & mySmartMail.Recipients.Item(1).Name & "."

    end if

%>
</body>
</html>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here