Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering html string #41

Open
Fen747 opened this issue Jan 6, 2016 · 2 comments
Open

Rendering html string #41

Fen747 opened this issue Jan 6, 2016 · 2 comments

Comments

@Fen747
Copy link

Fen747 commented Jan 6, 2016

Hi !

Email.send({ to : emails, from : "[email protected]", subject : obj, html : SSR.render("eventMail", data) });

With data containing a string like : "Hello".

The problem is that it is never rendered as HTML, but as a simple string, forbiding me to add links, images,
or any personalized element in my email body. The string comes from a text area value.

Any hint on what I am doing wrong ?

Thanks you

@sahanDissanayake
Copy link

Yes. I need to be able to inject html to the template dynamically too..

@sahanDissanayake
Copy link

I found a solution here, use {{{ }}} inside you template where you want html to appear
#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants