Skip to content

Commit 3401750

Browse files
committed
#81: fixed documentation (port is number)
1 parent ad1b4e0 commit 3401750

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/webapp/dist/app.bundle.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/webapp/src/app/components/features/features.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2>Basic usage</h2>
7070
email.setSubject("My Bakery is finally open!");
7171
email.setText("Mom, Dad. We did the opening ceremony of our bakery!!!");
7272

73-
new Mailer("server", "25", "username", "password").sendMail(email);
73+
new Mailer("server", 25, "username", "password").sendMail(email);
7474
</code></pre>
7575
</div>
7676
</section>
@@ -95,7 +95,7 @@ <h3>Using the fluent API with the Builder pattern</h3>
9595
.text("Mom, Dad. We did the opening ceremony of our bakery!!!")
9696
.build();
9797

98-
new Mailer("server", "25", "username", "password").sendMail(email);
98+
new Mailer("server", 25, "username", "password").sendMail(email);
9999
</code></pre>
100100
</div>
101101
</section>
@@ -112,7 +112,7 @@ <h3>Configure once, reuse many times</h3>
112112
</div>
113113

114114
<div class="side">
115-
<pre><code>Mailer inhouseMailer = new Mailer("server", "25", "username", "password");
115+
<pre><code>Mailer inhouseMailer = new Mailer("server", 25, "username", "password");
116116

117117
inhouseMailer.sendMail(email);
118118
inhouseMailer.sendMail(anotherEmail);

0 commit comments

Comments
 (0)