Advertisement
ASP_Volume3 OLE/ COM/ DCOM/ Active-X #52050

Mail notification

This code send a message to a specified address as a notification of the main mail message. Usually tells you if the message has been read or deleted.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<%
' MAIL NOTIFICATION, by RaS! (ras78@libero.it) 2001
' This simple example send a mail to the main address and a
' notify message to another one. You will receive a message that
' tell you if the main message has been read or deleted.
Set MyMail = Server.CreateObject("CDONTS.NewMail") 
 MyMail.From = "sender@domain.com"
 MyMail.To = "second_address@domain.com"
 MyMail.Subject = "Hello World!"
 MyMail.Body = "Email test with notify"
 MyMail.Value("Disposition-Notification-To")="other_address@domain.com"
 MyMail.Send
Set MyMail = Nothing 
%>
Original Comments (3)
Recovered from Wayback Machine