Skip to content

Commit fe8c671

Browse files
committed
javadoc tweak
1 parent e60027b commit fe8c671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/simple-java-mail/src/main/java/org/simplejavamail/mailer/internal/util/TransportConnectionHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class TransportConnectionHelper {
1414

1515
/**
1616
* To connect using OAuth2 authentication, we need to connect slightly differently as we can't use only Session properties and the traditional Authenticator class for
17-
* providing password. Instead, <em>mail.smtp.auth</em> is set to {@code false} and the OAuth2 authenticator should take over, but this is only triggered succesfully if we
18-
* provide an empty non-null password, which is only possible using the alternative {@link Transport#connect(String, String)}.
17+
* providing password. Instead, <em>mail.smtp.auth</em> is set to {@code false} and Google's OAuth2 Security Provider should take over, but this is only triggered succesfully if we
18+
* provide an empty non-null password, and that is only possible using the alternative {@link Transport#connect(String, String)}.
1919
*/
2020
public static void connectTransport(Transport transport, Session session) throws MessagingException {
2121
if (session.getProperties().containsKey(TransportStrategy.OAUTH2_TOKEN_PROPERTY)) {

0 commit comments

Comments
 (0)