Class JavaMailEmailSender
- java.lang.Object
-
- ca.uhn.fhir.jpa.subscription.module.subscriber.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 StringgetSmtpServerHostname()StringgetSmtpServerPassword()intgetSmtpServerPort()StringgetSmtpServerUsername()voidsend(EmailDetails theDetails)voidsetSmtpServerHostname(String theSmtpServerHostname)Set the SMTP server host to use for outbound mailvoidsetSmtpServerPassword(String theSmtpServerPassword)voidsetSmtpServerPort(int theSmtpServerPort)Set the SMTP server port to use for outbound mailvoidsetSmtpServerUsername(String theSmtpServerUsername)voidstart()
-
-
-
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)
-
send
public void send(EmailDetails theDetails)
- Specified by:
sendin interfaceIEmailSender
-
start
@PostConstruct public void start()
-
-