by Bharat Lahori (1 Submission)
Category: Miscellaneous
Compatability: VB Script
Difficulty: Unknown Difficulty
Originally Published: Tue 19th December 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Send email from within Active Server Pages on an NT server.
API Declarations
'Use Collaboration Data Objects (CDONTS)
'Note: This requires SMTP to be installed on server which comes with the
' Windows NT option pack.
<% set objMail=Server.CreateObject("CDONTS.NewMail")
objMail.To="[email protected]"
objMail.From="[email protected]"
objMail.Subject="Place the subject here"
objMail.Body="Place body text here"
objMail.Send
set objMail=Nothing %>