public class DeprecatedMailModule extends AbstractReportServerModule
DeprecatedMailFrom
DeprecatedMailFromName
DeprecatedMailConfig
DeprecatedMailSMTPHost
DeprecatedMailSMTPPassword
DeprecatedMailSMTPPort
DeprecatedMailSMTPUsername
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
static java.lang.String |
PROPERTY_MAIL_SENDER |
static java.lang.String |
PROPERTY_MAIL_SENDER_NAME |
static java.lang.String |
PROPERTY_SMTP_AUTH |
static java.lang.String |
PROPERTY_SMTP_HOST |
static java.lang.String |
PROPERTY_SMTP_PASSWORD |
static java.lang.String |
PROPERTY_SMTP_PORT |
static java.lang.String |
PROPERTY_SMTP_SSL |
static java.lang.String |
PROPERTY_SMTP_TLS_ENABLE |
static java.lang.String |
PROPERTY_SMTP_TLS_REQUIRE |
static java.lang.String |
PROPERTY_SMTP_USERNAME |
Constructor and Description |
---|
DeprecatedMailModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
provideDefaultFrom(Configuration config) |
java.lang.String |
provideDefaultFromName(Configuration config) |
Configuration |
providePropertyContainer(ConfigService configService) |
Session |
provideSession(Configuration config,
java.lang.String host,
java.lang.Integer port,
boolean useAuth,
java.lang.String username,
java.lang.String password) |
java.lang.String |
provideSmtpHost(Configuration config) |
java.lang.String |
provideSmtpHostPassword(Configuration config) |
java.lang.String |
provideSmtpHostUsername(Configuration config) |
java.lang.Integer |
provideSMTPPort(Configuration config) |
boolean |
provideUseAuthentication(Configuration config) |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String PROPERTY_SMTP_HOST
public static final java.lang.String PROPERTY_SMTP_PORT
public static final java.lang.String PROPERTY_SMTP_USERNAME
public static final java.lang.String PROPERTY_SMTP_PASSWORD
public static final java.lang.String PROPERTY_SMTP_SSL
public static final java.lang.String PROPERTY_SMTP_TLS_ENABLE
public static final java.lang.String PROPERTY_SMTP_TLS_REQUIRE
public static final java.lang.String PROPERTY_SMTP_AUTH
public static final java.lang.String PROPERTY_MAIL_SENDER
public static final java.lang.String PROPERTY_MAIL_SENDER_NAME
public Session provideSession(Configuration config, java.lang.String host, java.lang.Integer port, boolean useAuth, @Nullable java.lang.String username, @Nullable java.lang.String password)
public Configuration providePropertyContainer(ConfigService configService)
public java.lang.String provideSmtpHost(Configuration config)
public boolean provideUseAuthentication(Configuration config)
public java.lang.String provideSmtpHostUsername(Configuration config)
public java.lang.String provideSmtpHostPassword(Configuration config)
public java.lang.String provideDefaultFrom(Configuration config)
public java.lang.String provideDefaultFromName(Configuration config)
public java.lang.Integer provideSMTPPort(Configuration config)