From 8aef73e253c0dc4101955594203c92c04e715229 Mon Sep 17 00:00:00 2001 From: Andrew Cantino Date: Thu, 30 Jun 2016 19:15:07 -0400 Subject: [PATCH] Add clarifying text to fix #1558 --- app/models/agents/email_agent.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/agents/email_agent.rb b/app/models/agents/email_agent.rb index 04f00e4c51..b0b49350b3 100644 --- a/app/models/agents/email_agent.rb +++ b/app/models/agents/email_agent.rb @@ -16,7 +16,8 @@ class EmailAgent < Agent 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. + The body can contain simple HTML and will be sanitized. Note that when using `body`, it will be wrapped with `` and `` tags, + so you do not need to add these yourself. You can specify one or more `recipients` for the email, or skip the option in order to send the email to your account's default email address.