programming-examples/asp/More_Code_Snippets/A CDonts example to send an email.asp

9 lines
246 B
Plaintext
Raw Permalink Normal View History

2019-11-18 14:25:58 +01:00
<%
set objMail=Server.CreateObject("CDONTS.NewMail")
objMail.To="sample@emailaddress.com"
objMail.From="from@otheremail.com"
objMail.Subject="Place the subject here"
objMail.Body="Place body text here"
objMail.Send
set objMail=Nothing
%>