Skip to content

Commit 8d15be3

Browse files
committed
Updating documentation slightly regarding Custom Mailer
1 parent 31c0962 commit 8d15be3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/core-module/src/main/java/org/simplejavamail/api/mailer/CustomMailer.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88

99
/**
1010
* By default, Simple Java Mail handles the ultimate connection and sending of emails. However, it is possible to replace this last step
11-
* by a custom implementation. Note this is not meant to 'override' the default behavior, but to provide a custom implementation for
11+
* with a custom implementation. Note this is not meant to 'override' the default behavior, but to provide a custom implementation for
1212
* specific use cases (for example sending using MailChimp or SendGrid, or logging to your own database).
1313
* <p>
14-
* The benefit of this is that Simple Java Mail acts as an accelarator, providing thread pool, applying email content-validation, address validations,
14+
* The benefit of this is that Simple Java Mail acts as an accelerator, providing thread pool, applying email content-validation, address validations,
1515
* configuring a {@code Session} instance, producing a {@code MimeMessage}, all with full S/MIME, DKIM support and everything else.
1616
* <p>
17-
* <strong>Note:</strong> in this mode, proxy support is turned off assuming it is handled by the custom mailer as well.
17+
* <strong>Note:</strong> in this mode, proxy support is turned off assuming it is handled by the custom mailer as well.<br>
1818
* <strong>Note:</strong> in this mode, the batch-module (SMTP cluster(s) / smtp connection pooling) won't be used either.
1919
*
2020
* @see MailerGenericBuilder#withCustomMailer(CustomMailer)
21+
* @see <a href="https://simplejavamail.org/features.html#section-custom-mailer">Plug your own sending logic with a Custom Mailer</a>
2122
*/
2223
public interface CustomMailer {
2324
void testConnection(@NotNull OperationalConfig operationalConfig, @NotNull Session session);

0 commit comments

Comments
 (0)