
Class JavaMailEmailSender
- java.lang.Object
-
- ca.uhn.fhir.jpa.subscription.match.deliver.email.JavaMailEmailSender
-
- All Implemented Interfaces:
IEmailSender
public class JavaMailEmailSender extends Object implements IEmailSender
-
-
Constructor Summary
Constructors Constructor Description JavaMailEmailSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSmtpServerHostname()
String
getSmtpServerPassword()
int
getSmtpServerPort()
String
getSmtpServerUsername()
void
send(EmailDetails theDetails)
void
setAuth(Boolean theAuth)
Set the "mail.smtp.auth" Java Mail Propertyvoid
setQuitWait(Boolean theQuitWait)
Set the "mail.smtp.quitwait" Java Mail Propertyvoid
setSmtpServerHostname(String theSmtpServerHostname)
Set the SMTP server host to use for outbound mailvoid
setSmtpServerPassword(String theSmtpServerPassword)
void
setSmtpServerPort(int theSmtpServerPort)
Set the SMTP server port to use for outbound mailvoid
setSmtpServerUsername(String theSmtpServerUsername)
void
setStartTlsEnable(Boolean theStartTlsEnable)
Set the "mail.smtp.starttls.enable" Java Mail Propertyvoid
setStartTlsRequired(Boolean theStartTlsRequired)
Set the "mail.smtp.starttls.required" Java Mail Propertyvoid
start()
-
-
-
Constructor Detail
-
JavaMailEmailSender
public JavaMailEmailSender()
-
-
Method Detail
-
getSmtpServerHostname
public String getSmtpServerHostname()
-
setSmtpServerHostname
public void setSmtpServerHostname(String theSmtpServerHostname)
Set the SMTP server host to use for outbound mail
-
getSmtpServerPassword
public String getSmtpServerPassword()
-
setSmtpServerPassword
public void setSmtpServerPassword(String theSmtpServerPassword)
-
getSmtpServerPort
public int getSmtpServerPort()
-
setSmtpServerPort
public void setSmtpServerPort(int theSmtpServerPort)
Set the SMTP server port to use for outbound mail
-
getSmtpServerUsername
public String getSmtpServerUsername()
-
setSmtpServerUsername
public void setSmtpServerUsername(String theSmtpServerUsername)
-
setStartTlsEnable
public void setStartTlsEnable(Boolean theStartTlsEnable)
Set the "mail.smtp.starttls.enable" Java Mail Property
-
setStartTlsRequired
public void setStartTlsRequired(Boolean theStartTlsRequired)
Set the "mail.smtp.starttls.required" Java Mail Property
-
setQuitWait
public void setQuitWait(Boolean theQuitWait)
Set the "mail.smtp.quitwait" Java Mail Property
-
send
public void send(EmailDetails theDetails)
- Specified by:
send
in interfaceIEmailSender
-
start
@PostConstruct public void start()
-
-