by vbcode.com (4 Submissions)
Category: Active Server Pages
Compatability: ASP (Active Server Pages)
Difficulty: Unknown Difficulty
Originally Published: Thu 28th January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Send email from within Active Server Pages on an NT server.
'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 %>