Skip to content

Commit

Permalink
Merge pull request #73 from arcage/v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arcage committed Mar 11, 2022
2 parents 3899a23 + 219d586 commit 05f3444
Show file tree
Hide file tree
Showing 29 changed files with 909 additions and 423 deletions.
6 changes: 3 additions & 3 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.2.0">
<meta name="crystal_docs.project_version" content="0.6.4">
<meta name="crystal_docs.project_version" content="0.7.0">
<meta name="crystal_docs.project_name" content="email">


Expand All @@ -13,7 +13,7 @@
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="email">
<title>email 0.6.4</title>
<title>email 0.7.0</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -39,7 +39,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
0.6.4
0.7.0
</span>
</div>
</div>
Expand Down
28 changes: 14 additions & 14 deletions docs/EMail.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.2.0">
<meta name="crystal_docs.project_version" content="0.6.4">
<meta name="crystal_docs.project_version" content="0.7.0">
<meta name="crystal_docs.project_name" content="email">


Expand All @@ -13,7 +13,7 @@
<script type="text/javascript" src="js/doc.js"></script>

<meta name="repository-name" content="email">
<title>EMail - email 0.6.4</title>
<title>EMail - email 0.7.0</title>
<script type="text/javascript">
CrystalDocs.base_path = "";
</script>
Expand All @@ -39,7 +39,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
0.6.4
0.7.0
</span>
</div>
</div>
Expand Down Expand Up @@ -191,28 +191,28 @@ <h2>
</h2>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email.cr#L9" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email.cr#L9" target="_blank">
email.cr
</a>

<br/>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/address.cr#L2" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/address.cr#L2" target="_blank">
email/address.cr
</a>

<br/>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/concurrent_sender.cr#L155" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/concurrent_sender.cr#L155" target="_blank">
email/concurrent_sender.cr
</a>

<br/>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/mimetype.cr#L1" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/mimetype.cr#L1" target="_blank">
email/mimetype.cr
</a>

Expand All @@ -239,7 +239,7 @@ <h2>


<dt class="entry-const" id="VERSION">
<strong>VERSION</strong> = <code><span class="s">&quot;0.6.4&quot;</span></code>
<strong>VERSION</strong> = <code><span class="s">&quot;0.6.5&quot;</span></code>
</dt>


Expand All @@ -262,14 +262,14 @@ <h2>
<li class="entry-summary">
<a href="#send%28config%3AEMail%3A%3AClient%3A%3AConfig%2C%26%29-class-method" class="signature"><strong>.send</strong>(config : EMail::Client::Config, &)</a>

<div class="summary"><p>Send one email with given client settings as EMail::Client::Config object.</p></div>
<div class="summary"><p>Sends one email with given client settings as EMail::Client::Config object.</p></div>

</li>

<li class="entry-summary">
<a href="#send%28%2Aargs%2C%2A%2Anamed_args%2C%26%29-class-method" class="signature"><strong>.send</strong>(*args, **named_args, &)</a>

<div class="summary"><p>Send one email with given client settings as several arguments.</p></div>
<div class="summary"><p>Sends one email with given client settings as several arguments.</p></div>

</li>

Expand Down Expand Up @@ -307,7 +307,7 @@ <h2>

<div class="doc">

<p>Send one email with given client settings as EMail::Client::Config object.</p>
<p>Sends one email with given client settings as EMail::Client::Config object.</p>
<pre><code class="language-crystal">config <span class="o">=</span> <span class="t">EMail</span><span class="t">::</span><span class="t">Client</span><span class="t">::</span><span class="t">Config</span>.<span class="k">new</span>(<span class="s">&quot;your.mx.server.name&quot;</span>, <span class="n">587</span>)
config.use_tls
config.use_auth(<span class="s">&quot;your_id&quot;</span>, <span class="s">&quot;your_password&quot;</span>)
Expand All @@ -330,7 +330,7 @@ <h2>
<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email.cr#L37" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email.cr#L37" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -345,7 +345,7 @@ <h2>

<div class="doc">

<p>Send one email with given client settings as several arguments.</p>
<p>Sends one email with given client settings as several arguments.</p>
<p>Avairable arguments are same as <code>EMail::Client::Conifg.create</code> method.</p>
<pre><code class="language-crystal"><span class="t">EMail</span>.send(<span class="s">&quot;your.mx.server.name&quot;</span>, <span class="n">578</span>,
use_tle: <span class="n">true</span>,
Expand All @@ -367,7 +367,7 @@ <h2>
<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email.cr#L65" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email.cr#L65" target="_blank">View source</a>]

</div>
</div>
Expand Down
50 changes: 25 additions & 25 deletions docs/EMail/Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Crystal Docs 1.2.0">
<meta name="crystal_docs.project_version" content="0.6.4">
<meta name="crystal_docs.project_version" content="0.7.0">
<meta name="crystal_docs.project_name" content="email">


Expand All @@ -13,7 +13,7 @@
<script type="text/javascript" src="../js/doc.js"></script>

<meta name="repository-name" content="email">
<title>EMail::Client - email 0.6.4</title>
<title>EMail::Client - email 0.7.0</title>
<script type="text/javascript">
CrystalDocs.base_path = "../";
</script>
Expand All @@ -39,7 +39,7 @@ <h1 class="project-name">
</h1>

<span class="project-version">
0.6.4
0.7.0
</span>
</div>
</div>
Expand Down Expand Up @@ -218,14 +218,14 @@ <h2>
</h2>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L17" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L17" target="_blank">
email/client.cr
</a>

<br/>


<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client/config.cr#L1" target="_blank">
<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client/config.cr#L1" target="_blank">
email/client/config.cr
</a>

Expand Down Expand Up @@ -270,28 +270,28 @@ <h2>
<li class="entry-summary">
<a href="#log%3ALog-class-method" class="signature"><strong>.log</strong> : Log</a>

<div class="summary"><p>Get default logger(<a href="https://crystal-lang.org/api/OpenSSL/Log.html">Log</a> type object) to output SMTP log.</p></div>
<div class="summary"><p>Gets default logger(<a href="https://crystal-lang.org/api/OpenSSL/Log.html">Log</a> type object) to output SMTP log.</p></div>

</li>

<li class="entry-summary">
<a href="#log_formatter%3D%28new_formatter%3ALog%3A%3AFormatter%29-class-method" class="signature"><strong>.log_formatter=</strong>(new_formatter : Log::Formatter)</a>

<div class="summary"><p>Set log formatter for default logger.</p></div>
<div class="summary"><p>Sets log formatter for default logger.</p></div>

</li>

<li class="entry-summary">
<a href="#log_io%3D%28new_io%3AIO%29-class-method" class="signature"><strong>.log_io=</strong>(new_io : IO)</a>

<div class="summary"><p>Set log io for default logger.</p></div>
<div class="summary"><p>Sets log io for default logger.</p></div>

</li>

<li class="entry-summary">
<a href="#log_level%3D%28new_level%3ALog%3A%3ASeverity%29-class-method" class="signature"><strong>.log_level=</strong>(new_level : Log::Severity)</a>

<div class="summary"><p>Set log level for default logger.</p></div>
<div class="summary"><p>Sets log level for default logger.</p></div>

</li>

Expand Down Expand Up @@ -319,14 +319,14 @@ <h2>
<li class="entry-summary">
<a href="#send%28mail%3AEMail%3A%3AMessage%29%3ABool-instance-method" class="signature"><strong>#send</strong>(mail : EMail::Message) : Bool</a>

<div class="summary"><p>Send a email message</p></div>
<div class="summary"><p>Sends a email message</p></div>

</li>

<li class="entry-summary">
<a href="#start%28%26%29-instance-method" class="signature"><strong>#start</strong>(&)</a>

<div class="summary"><p>Start SMTP session.</p></div>
<div class="summary"><p>Starts SMTP session.</p></div>

</li>

Expand Down Expand Up @@ -386,7 +386,7 @@ <h2>
<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L89" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L89" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -413,13 +413,13 @@ <h2>

<div class="doc">

<p>Get default logger(<a href="https://crystal-lang.org/api/OpenSSL/Log.html">Log</a> type object) to output SMTP log.</p>
<p>Gets default logger(<a href="https://crystal-lang.org/api/OpenSSL/Log.html">Log</a> type object) to output SMTP log.</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L36" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L36" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -434,13 +434,13 @@ <h2>

<div class="doc">

<p>Set log formatter for default logger.</p>
<p>Sets log formatter for default logger.</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L55" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L55" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -455,13 +455,13 @@ <h2>

<div class="doc">

<p>Set log io for default logger.</p>
<p>Sets log io for default logger.</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L47" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L47" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -476,13 +476,13 @@ <h2>

<div class="doc">

<p>Set log level for default logger.</p>
<p>Sets log level for default logger.</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L41" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L41" target="_blank">View source</a>]

</div>
</div>
Expand Down Expand Up @@ -515,7 +515,7 @@ <h2>
<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L86" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L86" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -530,15 +530,15 @@ <h2>

<div class="doc">

<p>Send a email message</p>
<p>Sends a email message</p>
<p>You can call this only in the block of the <code><a href="../EMail/Client.html#start%28%26%29-instance-method">EMail::Client#start</a></code> method.
This retruns sending result as Bool(<code>true</code> for success, <code>false</code> for fail).</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L178" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L178" target="_blank">View source</a>]

</div>
</div>
Expand All @@ -553,14 +553,14 @@ <h2>

<div class="doc">

<p>Start SMTP session.</p>
<p>Starts SMTP session.</p>
<p>In the block, the default receiver will be <code>self</code>.</p>
</div>

<br/>
<div>

[<a href="https://github.com/arcage/crystal-email/blob/fe7cb4012e5476f029952a776e6ef5363d551f5d/src/email/client.cr#L107" target="_blank">View source</a>]
[<a href="https://github.com/arcage/crystal-email/blob/9c1dddeca5b97bffbfc5f65a2f3c71144c10186f/src/email/client.cr#L107" target="_blank">View source</a>]

</div>
</div>
Expand Down

0 comments on commit 05f3444

Please sign in to comment.