Class StiMailProperties

java.lang.Object
com.stimulsoft.base.mail.StiMailProperties
All Implemented Interfaces:
Serializable

public class StiMailProperties extends Object implements Serializable
Copyright Stimulsoft
See Also:
  • Constructor Details

    • StiMailProperties

      public StiMailProperties()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public StiMailProperties clone()
      Clone without attachments
      Overrides:
      clone in class Object
    • getHost

      public String getHost()
      Returns:
      the host
    • getUserName

      public String getUserName()
      Returns:
      the userName
    • setUserName

      public void setUserName(String userName)
      Parameters:
      userName - the userName to set
    • getPassword

      public String getPassword()
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Parameters:
      password - the password to set
    • setHost

      public void setHost(String host)
      Parameters:
      host - the host to set
    • getFrom

      public String getFrom()
      Returns:
      the from
    • setFrom

      public void setFrom(String from)
      Parameters:
      from - the from to set
    • getRecipients

      public String getRecipients()
      Returns:
      the recipients
    • setRecipients

      public void setRecipients(String recipients)
      Parameters:
      recipients - the recipients to set
    • getSubject

      public String getSubject()
      Returns:
      the subject
    • setSubject

      public void setSubject(String subject)
      Parameters:
      subject - the subject to set
    • getBody

      public String getBody()
      Returns:
      the body
    • setBody

      public void setBody(String body)
      Parameters:
      body - the body to set
    • getSmtpNeedAuth

      public Boolean getSmtpNeedAuth()
      Returns:
      the smtpNeedAuth
    • setSmtpNeedAuth

      public void setSmtpNeedAuth(Boolean smtpNeedAuth)
      Parameters:
      smtpNeedAuth - the smtpNeedAuth to set
    • getSmtpPort

      public int getSmtpPort()
      Returns:
      the smtpPort
    • setSmtpPort

      public void setSmtpPort(int smtpPort)
      Parameters:
      smtpPort - the smtpPort to set
    • getUseSSL

      public Boolean getUseSSL()
      Returns:
      the useSSL
    • setUseSSL

      public void setUseSSL(Boolean useSSL)
      Parameters:
      useSSL - the useSSL to set
    • getAttachments

      public List<File> getAttachments()
      Returns:
      the attachments
    • setAttachments

      public void setAttachments(List<File> attachments)
      Parameters:
      attachments - the attachments to set
    • getStreamAttachments

      public List<StiMailProperties.StiStreamAttachment> getStreamAttachments()
      Returns:
      the streamAttachments
    • setStreamAttachments

      public void setStreamAttachments(List<StiMailProperties.StiStreamAttachment> streamAttachments)
      Parameters:
      streamAttachments - the streamAttachments to set
    • isMailDebug

      public boolean isMailDebug()
      Returns:
      the mailDebug
    • setMailDebug

      public void setMailDebug(boolean mailDebug)
      Parameters:
      mailDebug - the mailDebug to set