Package org.nekosoft.pdffer.props
Class PdfferMailerProps
java.lang.Object
org.nekosoft.pdffer.props.PdfferMailerProps
@ConfigurationProperties(prefix="pdffer.mailer")
@ConstructorBinding
public class PdfferMailerProps
extends Object
A Property POJO that reflects the configuration of the mailer bean.
-
Constructor Summary
ConstructorDescriptionPdfferMailerProps(EmailAddressInfo sendFrom, EmailAddressInfo replyTo, SmtpServerInfo smtp)
Instantiates a new Pdffer mailer props. -
Method Summary
Modifier and TypeMethodDescriptionGets the default email address that will be used as the reply-to header for the emails sent by PDFfer.Gets the default email address that will be used as the sender for the emails sent by PDFfer.getSmtp()
Gets the settings of the SMTP server that will be used to send email messages from PDFfer.
-
Constructor Details
-
PdfferMailerProps
Instantiates a new Pdffer mailer props.- Parameters:
sendFrom
- the default email address that will be used as the sender for the emails sent by PDFferreplyTo
- the default email address that will be used as the reply-to header for the emails sent by PDFfersmtp
- the settings of the SMTP server that will be used to send email messages from PDFfer
-
-
Method Details
-
getSendFrom
Gets the default email address that will be used as the sender for the emails sent by PDFfer.- Returns:
- the default email address that will be used as the sender
-
getReplyTo
Gets the default email address that will be used as the reply-to header for the emails sent by PDFfer.- Returns:
- the default email address that will be used as the reply-to header
-
getSmtp
Gets the settings of the SMTP server that will be used to send email messages from PDFfer.- Returns:
- the settings of the SMTP server
-