19. October 2010 04:22
Sometimes Lotus Notes users may want to send an email, but not allow it to be forwarded. This is a feature of Lotus Notes, and not a feature of the SMTP protocol.
To do this, Lotus Notes recognizes the Sensitivy header. By setting the Sensitivity option to CompanyConfidential in aspNetEmail, we are able to take advantage of this feature.
Here is some example code.
EmailMessage msg = new EmailMessage( "127.0.0.1" );
msg.From = "email@example.com";
msg.To = "firstname.lastname@example.org";
msg.Subject = "sensitivity test";
msg.Body = "You should not be able to forward this email.";
msg.Sensitivity = MailSensitivity.CompanyConfidential;
As always, if anyone has any questions or comments, please let me know.