Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feedback form
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00534396
Message ID:
00535880
Views:
10
CDONTS is part of Windows NT (Windows 2000) SMTP service. Just install it from the CD. Here is some sample ASP code:
Function SendEmail(pto, psubj, pbody)
'Send an email using CDONTS
'	Const cstCdoLow    = 0   ' Low importance  
'	Const cstCdoNormal = 1   ' Normal importance (default)  
'	Const cstCdoHigh   = 2   ' High importance  
	Dim oMail,strBody

    Set oMail = CreateObject("CDONTS.NewMail")
    oMail.BodyFormat=0 ' for HTML formatting
    oMail.MailFormat=0
    oMail.From= "programmer@southbeachsoftware.com"
    oMail.To= pto
    oMail.Subject=psubj
    oMail.Body= pBody
	oMail.Importance = 2 'cstCdoHigh
    oMail.Send
    set oMail=nothing
END Function
>Hi,
> Thank you. Does ASPMail is a 3rd party or ...?
>
>Thank you
Previous
Reply
Map
View

Click here to load this message in the networking platform