446
Views
6
Comments
Solved
Remove Html tags in Email body of reactive aaplication
Question
Application Type
Reactive
Platform Version
11.20.0 (Build 38549)

Hi folks ,

I am using CkEditor for saving my emailTemplate for sending emails.
Now in Reactive web i want to send email using InjectHtml (By translating html to text).
How can I achieve this (How to use InjectHtml in this case )?
A solution will be highly appreaciated !!

With Regards 
Pratap Singh

2024-09-04 05-41-42
Pratap Singh Naruka
Solution

Hi Folks ,
I have used HtmlUtils component and i have used service actional of it to convert HTML to Text.

It works for Reactive Email html repolacement.
Though it does not help with style tags and link tags!

Thanks 
Pratap

2023-10-21 19-42-11
Tousif Khan
Champion

Hello

Yes you can send a Html and covert it into a theme template

Here I am attaching a link with the same kind of issue and the solution is  given by @Daniël Kuhlmann  
https://www.outsystems.com/forums/discussion/52171/is-there-any-way-to-send-mail-in-server-action-without-ui/

hope this helps

Thanks
Tousif Khan

2024-09-04 05-41-42
Pratap Singh Naruka

Hi Tousif 

Let me rephrase:
I have reactive web application now in this how can i remove html tags before sending email ?

2023-10-21 19-42-11
Tousif Khan
Champion

I know you have a reactive web application but, You can create a email template in traditional web application, and create a server action there, which will help you send the email, You have to make your server action public so that you can use that action in your reactive web application. because it has the option to not escape content.


2024-09-04 05-41-42
Pratap Singh Naruka

Actually i was using Traditional web earlier for sending email that was working fine.
But for current requirement we need reactive email sending functionality without using seperate application

2023-10-21 19-42-11
Tousif Khan
Champion

Not sure about the other way Directly through Reactive Email template,

lets wait for other replies, maybe someone has a solution for this.

Thanks

2024-09-04 05-41-42
Pratap Singh Naruka
Solution

Hi Folks ,
I have used HtmlUtils component and i have used service actional of it to convert HTML to Text.

It works for Reactive Email html repolacement.
Though it does not help with style tags and link tags!

Thanks 
Pratap

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