com.stimulsoft.base.mail
Class StiMailProperties
java.lang.Object
com.stimulsoft.base.mail.StiMailProperties
- All Implemented Interfaces:
- java.io.Serializable
public class StiMailProperties
- extends java.lang.Object
- implements java.io.Serializable
Copyright Stimulsoft
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StiMailProperties
public StiMailProperties()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public StiMailProperties clone()
- Clone without attachments
- Overrides:
clone
in class java.lang.Object
getHost
public java.lang.String getHost()
- Returns:
- the host
getUserName
public java.lang.String getUserName()
- Returns:
- the userName
setUserName
public void setUserName(java.lang.String userName)
- Parameters:
userName
- the userName to set
getPassword
public java.lang.String getPassword()
- Returns:
- the password
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
- the password to set
setHost
public void setHost(java.lang.String host)
- Parameters:
host
- the host to set
getFrom
public java.lang.String getFrom()
- Returns:
- the from
setFrom
public void setFrom(java.lang.String from)
- Parameters:
from
- the from to set
getRecipients
public java.lang.String getRecipients()
- Returns:
- the recipients
setRecipients
public void setRecipients(java.lang.String recipients)
- Parameters:
recipients
- the recipients to set
getSubject
public java.lang.String getSubject()
- Returns:
- the subject
setSubject
public void setSubject(java.lang.String subject)
- Parameters:
subject
- the subject to set
getBody
public java.lang.String getBody()
- Returns:
- the body
setBody
public void setBody(java.lang.String body)
- Parameters:
body
- the body to set
getSmtpNeedAuth
public java.lang.Boolean getSmtpNeedAuth()
- Returns:
- the smtpNeedAuth
setSmtpNeedAuth
public void setSmtpNeedAuth(java.lang.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 java.lang.Boolean getUseSSL()
- Returns:
- the useSSL
setUseSSL
public void setUseSSL(java.lang.Boolean useSSL)
- Parameters:
useSSL
- the useSSL to set
getAttachments
public java.util.List<java.io.File> getAttachments()
- Returns:
- the attachments
setAttachments
public void setAttachments(java.util.List<java.io.File> attachments)
- Parameters:
attachments
- the attachments to set
getStreamAttachments
public java.util.List<StiMailProperties.StiStreamAttachment> getStreamAttachments()
- Returns:
- the streamAttachments
setStreamAttachments
public void setStreamAttachments(java.util.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