From 893bfbe1195e896e6cc364e064e7823613f1ca36 Mon Sep 17 00:00:00 2001 From: Leviand Date: Thu, 8 Nov 2018 07:39:08 +0100 Subject: Removed typo in method , there was an extra ")" (#11295) --- documentation/articles/SendingEmailFromJavaApplications.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/articles/SendingEmailFromJavaApplications.asciidoc') 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: -- cgit v1.2.3