Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am facing a problem in outlook while replying or forwarding mails. I have a div which is hided. When recipients receives mail he wont able to view the hided div and it is rendering correctly. But problem arises when he tries to forward or reply to that mail. The problem causing div is "divmailcomments". when forwarding or replying below div got visible.
How to sort this issue. Kind request to help.


<div style="font-family: Verdana !important;">Hi,</div><br>

<div id="divmailcomments" style="display:none !important; mso-hide:all;" font-family: Verdana !important;">
    Comments : InMailBody<br>
    {{Comments}}
</div><br>

<div style="font-family: Verdana !important;">We have received the below mentioned payment.</div><br>

<div style="font-family: Verdana !important;">Kindly provide us with the invoice details to account the same.</div><br>

<div style="font-family: Verdana !important;">Note: Please provide the invoice details for applying this receipt within two business days, on non-receipt of the details the same will be parked as Cash Receipt (OA).</div><br>

<br /><br /><br><div>Thank You,<br>ABC</div>


What I have tried:

<div id="divmailcomments" style="display:none !important; mso-hide:all;" font-family: Verdana !important;">
Comments : InMailBody

{{Comments}}



I tried with giving style display:none !important; mso-hide:all; but still while forwarding or replying it is getting overridden.
Posted
Comments
F-ES Sitecore 13-Mar-17 5:13am    
Trying to hide things in an email is pointless, they can always view\reply in plain text if they want.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900