function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marie MacGregorMarie MacGregor 

Help with getting CSS styling to work on test email

Hello all.

I am stumped. I have set up a custom HTML email notification for people who register for our events. I hae placed the CSS styling in the head tag for the HTML and from the Email Template Preview window in SalesForce it looks perfect, but when I send a test email it comes into the inbox unformatted and with no styling.

What needs to be done to fix it? I've attched a screenshot of the two. You can see how its suppsed to look on the left from the view in SF. on the right is the test view in outlook.

I'm new to this stuff - so lamens terms would be great!

Example

Satyendra RawatSatyendra Rawat
Hi Mac,

Use the inline css instead of Internal (Embedded) Styles
Marie MacGregorMarie MacGregor
Hello,

Thank you for the advice. I've done that now and its still not working. Same thing, in the preview it works fine, but when sending a test email there is no formatting.  Any idea why? Perhaps I could start with a template someone else has designed and work off that - where do I get these?

Marie