Search Tools Links Login

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.

Original Author: Alberto Sartori

Returns

It return a mail message of notification.

Code

<%
' 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
%>

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 102 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.