Skip to content

Commit 51808f3

Browse files
committed
Fix javadoc that functions as CLI help for the new disablingAllClientValidation feature
1 parent 30293d6 commit 51808f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ public interface MailerGenericBuilder<T extends MailerGenericBuilder<?>> {
211211
* Controls whether there will be any client-sided validation, including email address validation and CRLF injection attack detection (which will be warning instead).
212212
* <p>
213213
* If set to {@code true}, this silences the client completely and just delegates all responsibility of correctness/security to the server.
214+
*
215+
* @param disableAllClientValidation Enables or disables client-side email address validation (if configured) and CRLF injection scans. Default set to
216+
* {@value DEFAULT_DISABLE_ALL_CLIENTVALIDATION}.
214217
*/
215218
T disablingAllClientValidation(@NotNull Boolean disableAllClientValidation);
216219

@@ -510,7 +513,7 @@ public interface MailerGenericBuilder<T extends MailerGenericBuilder<?>> {
510513

511514
/**
512515
* Reverts to default value '{@value #DEFAULT_VERIFY_SERVER_IDENTITY}' for the behaviour of disabling client-sided
513-
* validations (email addresses and CLRF injection scanning).
516+
* validations (email addresses and CRLF injection scanning).
514517
*
515518
* @see #disablingAllClientValidation(Boolean)
516519
*/

0 commit comments

Comments
 (0)