If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

HTML format not looking good when embedded in email

Started by EarthDog, 05 Nov 2015 12:43:45 PM

Previous topic - Next topic

EarthDog

I have a report that i send via email in HTML format

Leaving body of email empty and clicking on attachment the HTML is embedded directly in the report which is what i need.

The problem is that the looks of the report is not as it is when viewing as html from the portal. It is like it is missing some styling (fonts e.t.c)

I tried sending it also to a yahoo and gmail mailbox and the results are the same.

Is there anything i can do to make the html look like it is on the design?

bdbits

I am not sure I entirely follow what you have set up. What does "the HTML is embedded directly in the report" mean? What does the HMTL have in it?

Have you tried an Active Report? That should be self-contained and not require anything external. Or am I missing something that precludes using an Active Report?


EarthDog

When you leave the email body field blank in a report and the output is defined as HTML then the email you receive has the HTML report inline and not as an attachment. This is what i mean ambedded.

So ...when i run the rerpot from the portal or when i open it in PDF it looks like the image i attach.

In a second post i attach the pic from within the email client.


EarthDog

And this is how it looks when i receive the email

Is there a way to better control the html output of a report in order not to have these differences?

bdbits

HTML is by its very nature going to render a little differently in different browsers/email clients, screen resolutions, etc. That said, I am going to venture a guess that you have let the reports default to relative sizing and positioning. You can mitigate this somewhat by using fixed values, e.g. 800px instead of 100%. It is somewhat tedious to go through the report(s) and do this, but if you want to maximize control over HTML presentation it will probably need to be done.

EarthDog

Thanks!!

Bottom line is that you are correct and more or lees one cannot 100% control the HTML output in the email.