Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have write this way pass div in email html body using C# code

HTML
<div style='display:none !important; visibility:hidden; opacity:0; color:transparent; height:0; width:0; mso-hide:all; line-height:0px; 
font-size:0px'>DATA'</div>
Posted
Updated 15-Jul-15 20:06pm
v5
Comments
Thanks7872 7-Jul-15 4:46am    
CSS has nothing to do with Email client. If you don't want to show something,why you are sending it?

1 solution

you could try using
CSS
display: none
rather than
CSS
visibility: hidden
in the style.
 
Share this answer
 

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