Hi All,
I need to send email template in outlook when user submits from outsystem form,
Created block nd sent html from black which will triger an email from api.
But in outlook the email templates css are not working.I have provided inline css at block level and it is working fine in email.
How can I avoid inline css and take outsysem class/theme level classes.
Please suggest
Hi @ujwala T ,
I had face same problem few months ago and I found directly use of inline CSS does not work in outlook then I use table in email template.
Inside the table I used inline CSS and it worked fine in outlook, you can try this.
Thanks,
Arun Rajput
Yes understand, inline CSS is required. For those items which is required and there are no alternative solution to solve those issue there is an option to snooze the finding add a False Positive.
For more details please refer this:
https://success.outsystems.com/documentation/11/managing_the_applications_lifecycle/manage_technical_debt/ai_mentor_studio_faqs/#What_should_I_do_when_I_believe_that_a_recommendation_is_wrong.3F
Thanks
Hi @Ujwwala T ,
Email template always need to use inline CSS. you can't use third party class/theme which is outside from the email domain.
With external CSS, We can link email to a stylesheet from the server but these links are mostly blocked by email providers. In that case if you use external CSS then it will not work with your email template when it go to the receiver email box.
I hope it will help for your question.
Thank you Jitendra .
So it means if only inlie css works and my changes are working but dashboard showing warnings for inline css.
Thank you for your reply.