We are Spring Java Mail to send emails from our web app.
If we want to set the message as “confidential” or “sensitive” . Is there any way to do
using Java Spring Mail ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I can’t speak specifically as to Spring, but these fields can be set by just including one of the following additional SMTP headers:
(Outlook doesn’t provide for sending an email as “sensitive” – you probably meant “personal” or “private”. “company-confidential” maps to “confidential”.)
Using regular JavaMail, this can be set using
Part.setHeader.See also: https://serverfault.com/questions/277476/which-mail-header-does-outlook-2003-use-to-indicate-the-confidentiality