Sample Email Sending Code In ASP (CDonts)

<%

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

%>

  • 137 Users Found This Useful
Was this answer helpful?

Related Articles

Connection String in the .net for Ms Access and MSSQL Server

Connection String in the .net for Ms Access using System.Data.Odbc;OdbcConnection conn = new...

Sample Email Code In .net

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SendMail.aspx.cs"...

Sample Code For Connection String In Asp to MsAccess Database and Mssql Server

Sample Code For Connection String In Asp to MsAccess DatabaseExample of a DSN connection<%DIM...

Powered by WHMCompleteSolution