Skip to content

Commit

Permalink
#105: updated documentation due to renamed transport strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
bbottema committed Nov 5, 2017
1 parent 0d71429 commit f4ed8c4
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -57,7 +57,7 @@ <h2>Programmatic API</h2>
new Mailer(serverConfig, new ProxyConfig("proxy.host.com", 1080, "proxy username", "proxy password"));
</code></pre>
<pre><code class="small">
// anonymous smtp + anonymous proxy + default SMTP_PLAIN strategy
// anonymous smtp + anonymous proxy + default SMTP protocol strategy
new Mailer(new ServerConfig("smtp.host.com", 25), new ProxyConfig("proxy.host.com", 1080));
</code></pre>
<pre><code class="small">
Expand Down Expand Up @@ -186,7 +186,7 @@ <h3>Available properties</h3>

<div class="side">
<pre><code class="language-properties">simplejavamail.javaxmail.debug=true
simplejavamail.transportstrategy=SMTP_SSL
simplejavamail.transportstrategy=SMTPS
simplejavamail.smtp.host=smtp.default.com
simplejavamail.smtp.port=25
simplejavamail.smtp.username=username
Expand Down Expand Up @@ -330,13 +330,13 @@ <h2>Spring support</h2>
simplejavamail.javaxmail.debug=true
simplejavamail.smtp.host=smtp.host
simplejavamail.smtp.port=25
simplejavamail.transportstrategy=SMTP_PLAIN
simplejavamail.transportstrategy=SMTP
</code></pre>
<pre><code class="language-properties small">#application-production.properties
simplejavamail.javaxmail.debug=false
simplejavamail.smtp.host=smtp.production.host
simplejavamail.smtp.port=443
simplejavamail.transportstrategy=SMTP_SSL
simplejavamail.transportstrategy=SMTPS
simplejavamail.smtp.username=&lt;username&gt;
simplejavamail.smtp.password=&lt;password&gt;
simplejavamail.proxy.username=&lt;proxy_username&gt;
Expand Down

0 comments on commit f4ed8c4

Please sign in to comment.