Package com.xpn.xwiki.plugin.mailsender
Class MailConfiguration
- java.lang.Object
-
- com.xpn.xwiki.plugin.mailsender.MailConfiguration
-
public class MailConfiguration extends Object
Represents a Mail Server configuration.- Version:
- $Id: 62a60f0cc837788875ac8e031dc18a43ce3523f7 $
-
-
Constructor Summary
Constructors Constructor Description MailConfiguration()
MailConfiguration(XWiki xwiki)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendExtraPropertiesTo(Properties externalProperties, boolean overwrite)
Add extraProperties to an external Properties objectString
getFrom()
String
getHost()
int
getPort()
String
getSmtpPassword()
String
getSmtpUsername()
void
setExtraProperties(String extraPropertiesString)
void
setExtraProperties(Properties extraProperties)
void
setFrom(String from)
void
setHost(String host)
void
setPort(int port)
void
setSmtpPassword(String smtpPassword)
void
setSmtpUsername(String smtpUsername)
String
toString()
boolean
usesAuthentication()
-
-
-
Constructor Detail
-
MailConfiguration
public MailConfiguration()
-
MailConfiguration
public MailConfiguration(XWiki xwiki)
-
-
Method Detail
-
setHost
public void setHost(String host)
-
getHost
public String getHost()
-
setPort
public void setPort(int port)
-
getPort
public int getPort()
-
setFrom
public void setFrom(String from)
-
getFrom
public String getFrom()
-
setSmtpUsername
public void setSmtpUsername(String smtpUsername)
-
getSmtpUsername
public String getSmtpUsername()
-
setSmtpPassword
public void setSmtpPassword(String smtpPassword)
-
getSmtpPassword
public String getSmtpPassword()
-
usesAuthentication
public boolean usesAuthentication()
-
setExtraProperties
public void setExtraProperties(Properties extraProperties)
-
setExtraProperties
public void setExtraProperties(String extraPropertiesString)
-
appendExtraPropertiesTo
public void appendExtraPropertiesTo(Properties externalProperties, boolean overwrite)
Add extraProperties to an external Properties object- Parameters:
externalProperties
-overwrite
-
-
-