Skip to content

Commit

Permalink
Add clarifying text to fix huginn#1558
Browse files Browse the repository at this point in the history
  • Loading branch information
cantino committed Jun 30, 2016
1 parent e1a2b5a commit 8aef73e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/agents/email_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<html>` and `<body>` 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.
Expand Down

0 comments on commit 8aef73e

Please sign in to comment.