Package com.stimulsoft.base.mail
Class StiMailProperties
java.lang.Object
com.stimulsoft.base.mail.StiMailProperties
- All Implemented Interfaces:
Serializable
Copyright Stimulsoft
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone without attachmentsgetBody()getFrom()getHost()intbooleanvoidsetAttachments(List<File> attachments) voidvoidvoidvoidsetMailDebug(boolean mailDebug) voidsetPassword(String password) voidsetRecipients(String recipients) voidsetSmtpNeedAuth(Boolean smtpNeedAuth) voidsetSmtpPort(int smtpPort) voidsetStreamAttachments(List<StiMailProperties.StiStreamAttachment> streamAttachments) voidsetSubject(String subject) voidsetUserName(String userName) voidtoString()
-
Constructor Details
-
StiMailProperties
public StiMailProperties()
-
-
Method Details
-
toString
-
clone
Clone without attachments -
getHost
- Returns:
- the host
-
getUserName
- Returns:
- the userName
-
setUserName
- Parameters:
userName- the userName to set
-
getPassword
- Returns:
- the password
-
setPassword
- Parameters:
password- the password to set
-
setHost
- Parameters:
host- the host to set
-
getFrom
- Returns:
- the from
-
setFrom
- Parameters:
from- the from to set
-
getRecipients
- Returns:
- the recipients
-
setRecipients
- Parameters:
recipients- the recipients to set
-
getSubject
- Returns:
- the subject
-
setSubject
- Parameters:
subject- the subject to set
-
getBody
- Returns:
- the body
-
setBody
- Parameters:
body- the body to set
-
getSmtpNeedAuth
- Returns:
- the smtpNeedAuth
-
setSmtpNeedAuth
- 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
- Returns:
- the useSSL
-
setUseSSL
- Parameters:
useSSL- the useSSL to set
-
getAttachments
- Returns:
- the attachments
-
setAttachments
- Parameters:
attachments- the attachments to set
-
getStreamAttachments
- Returns:
- the streamAttachments
-
setStreamAttachments
- 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
-