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 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

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

Sample Email Code In .net

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

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