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 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

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...

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...

Powered by WHMCompleteSolution