summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/articles/SendingEmailFromJavaApplications.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/articles/SendingEmailFromJavaApplications.asciidoc b/documentation/articles/SendingEmailFromJavaApplications.asciidoc
index abe04836ba..1411cf5255 100644
--- a/documentation/articles/SendingEmailFromJavaApplications.asciidoc
+++ b/documentation/articles/SendingEmailFromJavaApplications.asciidoc
@@ -134,7 +134,7 @@ follows:
HtmlEmail email = new HtmlEmail();
email.setHostName("localhost");
email.setSmtpPort(9090);
-email.setAuthentication()"sender@test.com", "password");
+email.setAuthentication("sender@test.com", "password");
....
 
Or if you want to use Gmail: