[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Email Agent - Handling of HTML in the body of an email #3447

Open
nodecentral opened this issue Sep 29, 2024 · 0 comments
Open

Email Agent - Handling of HTML in the body of an email #3447

nodecentral opened this issue Sep 29, 2024 · 0 comments

Comments

@nodecentral
Copy link
nodecentral commented Sep 29, 2024

Taking from another post I raised - #3446 - creating a dedicated thread on the following and what is meant overall by HTML being sanitized

a) to highlight that any TABs used within HTML code are replaced with \t when Huginn saves it.
b) to understand more about what Huginn exactly does in this area to sanitize and all the defaults that are applied, like <\html> tags.

Guidance in the Email agent is as follows..

You can customize the email body by including the optional body param. Like the subject, the body can 
be a simple message or a Liquid template. You could send only the Event’s some_text field with a body 
set to {{ some_text }}.  The body can contain simple HTML and will be sanitized. Note that when using 
body, it will be wrapped with <html> and <body> tags, so you do not need to add these yourself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants