com.stimulsoft.base.mail
Class StiMailProperties

java.lang.Object
  extended by 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

Nested Class Summary
 class StiMailProperties.StiStreamAttachment
           
 
Constructor Summary
StiMailProperties()
           
 
Method Summary
 StiMailProperties clone()
          Clone without attachments
 java.util.List<java.io.File> getAttachments()
           
 java.lang.String getBody()
           
 java.lang.String getFrom()
           
 java.lang.String getHost()
           
 java.lang.String getPassword()
           
 java.lang.String getRecipients()
           
 java.lang.Boolean getSmtpNeedAuth()
           
 int getSmtpPort()
           
 java.util.List<StiMailProperties.StiStreamAttachment> getStreamAttachments()
           
 java.lang.String getSubject()
           
 java.lang.String getUserName()
           
 java.lang.Boolean getUseSSL()
           
 boolean isMailDebug()
           
 void setAttachments(java.util.List<java.io.File> attachments)
           
 void setBody(java.lang.String body)
           
 void setFrom(java.lang.String from)
           
 void setHost(java.lang.String host)
           
 void setMailDebug(boolean mailDebug)
           
 void setPassword(java.lang.String password)
           
 void setRecipients(java.lang.String recipients)
           
 void setSmtpNeedAuth(java.lang.Boolean smtpNeedAuth)
           
 void setSmtpPort(int smtpPort)
           
 void setStreamAttachments(java.util.List<StiMailProperties.StiStreamAttachment> streamAttachments)
           
 void setSubject(java.lang.String subject)
           
 void setUserName(java.lang.String userName)
           
 void setUseSSL(java.lang.Boolean useSSL)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiMailProperties

public StiMailProperties()
Method Detail

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