Class EmailRequestData

java.lang.Object
org.nekosoft.pdffer.web.AbstractRequestData
org.nekosoft.pdffer.web.EmailRequestData

public class EmailRequestData extends AbstractRequestData
A DTO for sending HTTP request to download a PDF from PDFfer.
  • Constructor Details

    • EmailRequestData

      public EmailRequestData()
  • Method Details

    • getEmailTo

      public List<String> getEmailTo()
      Gets the email address to send the PDF to.
      Returns:
      the email address
    • setEmailTo

      public void setEmailTo(List<String> emailTo)
      Sets the email address to send the PDF to.
      Parameters:
      emailTo - the email address
    • getSubject

      public String getSubject()
      Gets the subject of the email that will contain the PDF.
      Returns:
      the email subject
    • setSubject

      public void setSubject(String subject)
      Sets the subject of the email that will contain the PDF.
      Parameters:
      subject - the email subject
    • getFilename

      public String getFilename()
      Gets the filename that will be used for the attachment.
      Returns:
      the filename
    • getMessage

      public String getMessage()
      Gets the main message of the email that will contain the PDF.
      Returns:
      the message
    • setMessage

      public void setMessage(String message)
      Sets the main message of the email that will contain the PDF.
      Parameters:
      message - the message
    • setFilename

      public void setFilename(String filename)
      Sets the filename that will be used for the attachment.
      Parameters:
      filename - the filename
    • getSendFrom

      public String getSendFrom()
      Gets the send-from email address in full RFC 6854 format. This overrides the setting in the PDFfer configuration.
      Returns:
      the send-from email address
    • setSendFrom

      public void setSendFrom(String sendFrom)
      Sets the send-from email address in full RFC 6854 format. This overrides the setting in the PDFfer configuration.
      Parameters:
      sendFrom - the send-from email address
    • getReplyTo

      public String getReplyTo()
      Gets the reply-to email address in full RFC 6854 format. This overrides the setting in the PDFfer configuration.
      Returns:
      the reply-to email address
    • setReplyTo

      public void setReplyTo(String replyTo)
      Sets the reply-to email address in full RFC 6854 format. This overrides the setting in the PDFfer configuration.
      Parameters:
      replyTo - the reply-to email address