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
@@ -130,6 +133,8 @@ public class MailerImpl implements Mailer {
130
133
* <em>"mail.smtp.host"</em> for SMTP and <em>"mail.smtps.host"</em> for SMTPS)</li> </ol>
131
134
* <p>
132
135
* Furthermore adds proxy SOCKS properties if a proxy configuration was provided, overwriting any SOCKS properties already present.
136
+
* <p>Finally, if there are extra properties in the properties file (ie. <em>simplejavamail.extraproperties.thisisextra=value</em>), then these
137
+
* are loaded directly on the internal Session instance. This Java equivalent of this is: <code>mailer.getSession().getProperties().setProperty(..)</code>.
133
138
*
134
139
* @param serverConfig Remote SMTP server details.
135
140
* @param transportStrategy The transport protocol strategy enum that actually handles the session configuration. Session configuration meaning
@@ -158,6 +163,9 @@ public static Session createMailSession(@NotNull final ServerConfig serverConfig
0 commit comments