Skip to content

Commit

Permalink
Updated docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
igoramadas committed Aug 24, 2017
1 parent e3a88d4 commit 5d0890e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docs/annotated/plugins.mailer.index.html
Expand Up @@ -370,7 +370,8 @@ <h2 id="outbound">OUTBOUND</h2>
@option options {String} subject The email subject.
@option options {String} to The “to” address.
@option options {String} from The “from” address, optional, if blank use default from settings.
@option options {String} template The template file to be loaded, optional.</p>
@option options {String} template The template file to be loaded, optional.
@option options {Boolean} doNotSend If true, the actual email will not be sent out. Used for testing.</p>

</div>

Expand Down Expand Up @@ -545,7 +546,7 @@ <h2 id="outbound">OUTBOUND</h2>

</div>

<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> settings.mailer.doNotSend
<div class="content"><div class='highlight'><pre> <span class="hljs-keyword">if</span> options.doNotSend <span class="hljs-keyword">or</span> settings.mailer.doNotSend
logger.warn <span class="hljs-string">"Mailer.smtpSend"</span>, <span class="hljs-string">"Abort! doNotSend = true"</span>, options.to, options.subject
<span class="hljs-keyword">return</span> resolve {doNotSend: <span class="hljs-literal">true</span>}</pre></div></div>

Expand Down
10 changes: 10 additions & 0 deletions docs/codo/class/Mailer.html
Expand Up @@ -244,6 +244,16 @@ <h3>
&mdash;
<span class='desc'>class </span>
</li>
<li>
<span class='name'>doNotSend</span>
<span class='type'>
(
<tt>Boolean</tt>
)
</span>
&mdash;
<span class='desc'>class </span>
</li>
</ul>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/History.md
Expand Up @@ -2,7 +2,7 @@

3.0.1
=====
* Updated dependencies.
* Updated AWS dependency.

3.0.0
=====
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/package.json
@@ -1,6 +1,6 @@
{
"name": "expresser-aws",
"version": "3.0.0",
"version": "3.0.1",
"description": "Wrapper for the AWS SDK on Expresser apps.",
"homepage": "http://github.com/igoramadas/expresser",
"author": "Igor Ramadas <igor@devv.com>",
Expand Down
2 changes: 1 addition & 1 deletion plugins/mailer/package.json
@@ -1,6 +1,6 @@
{
"name": "expresser-mailer",
"version": "3.0.0",
"version": "3.0.1",
"description": "Email sending plugin for Expresser.",
"homepage": "http://github.com/igoramadas/expresser",
"author": "Igor Ramadas <igor@devv.com>",
Expand Down

0 comments on commit 5d0890e

Please sign in to comment.