You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/simple-java-mail/src/main/java/org/simplejavamail/mailer/internal/MailerException.java
+3
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@ class MailerException extends MailException {
10
10
11
11
staticfinalStringERROR_READING_SMIME_FROM_INPUTSTREAM = "Was unable to read S/MIME data from input stream";
12
12
staticfinalStringERROR_READING_FROM_FILE = "Error reading from file: %s";
13
+
staticfinalStringCANNOT_USE_BOTH_PASSWORD_AND_OAUTH2 = "Either authenticate using password or OAuth2 token, but not both";
14
+
staticfinalStringMISSING_OAUTH2_TOKEN = "TransportStrategy is OAUTH2 but no OAUTH2 token provided";
15
+
staticfinalStringWRONG_TRANSPORTSTRATEGY_FOR_OAUTH2_TOKEN = "OAUTH2 token provided, but TransportStrategy was %s instead of OAUTH2";
13
16
staticfinalStringINVALID_PROXY_SLL_COMBINATION = "Proxy is not supported for SSL connections (this is a limitation by the underlying JavaMail framework)";
14
17
staticfinalStringERROR_CONNECTING_SMTP_SERVER = "Was unable to connect to SMTP server";
15
18
staticfinalStringGENERIC_ERROR = "Failed to send email [%s], reason: Third party error";
0 commit comments