incoming email style affect the whole page of awareim

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

incoming email style affect the whole page of awareim

Post by mrbdrm »

i notice when i get email that have css style, it will effect the whole page (banner, footer right menu, etc..).
so when i open the email form the page will get messed up and get back to normal when i close the email form
how to stop that?
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: incoming email style affect the whole page of awareim

Post by mrbdrm »

Do we have to search for style in email body and replace it? is this the only solution?

for anyone to test the issue just display your email form and add HTML cell with <div><<Email.body>></div>
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: incoming email style affect the whole page of awareim

Post by aware_support »

Have you tried displaying it in a popup window?
Aware IM Support Team
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: incoming email style affect the whole page of awareim

Post by mrbdrm »

Yes
still effect the whole page
if someone send this css in the email

Code: Select all

* {display:none;}

...
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: incoming email style affect the whole page of awareim

Post by RLJB »

Facing exactly the same issue, anyone found a solution to this one?
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: incoming email style affect the whole page of awareim

Post by hpl123 »

Difficult problem to solve, the thing is, you can't know beforehand which style is used in the HTML email (different senders can have different HTML emails) so difficult to "counteract" CSS style conflicts (which most likely is the cause of this problem) once the email is opened in Aware. The best solution I can think of is, try to display the HTML in an iframe because then, there is a "layer" between Aware CSS and the email CSS i.e the email HTML will not affect Aware CSS.
Henrik (V8 Developer Ed. - Windows)
Post Reply