136
Views
5
Comments
Solved
Email template outlook

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

2025-02-10 17-24-13
Arun Rajput
Solution

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

2020-01-08 12-23-57
Jitender Gaur
Solution


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

2020-01-08 12-23-57
Jitender Gaur

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. 


Thanks


UserImage.jpg
Ujwwala T

Thank you Jitendra .

So it means if only inlie css works and my changes are working but dashboard showing warnings for inline css.

2020-01-08 12-23-57
Jitender Gaur
Solution


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

UserImage.jpg
Ujwwala T
2025-02-10 17-24-13
Arun Rajput
Solution

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.