com.xpn.xwiki.plugin.mailsender
Class MailConfiguration

java.lang.Object
  extended by com.xpn.xwiki.plugin.mailsender.MailConfiguration

public class MailConfiguration
extends Object

Represents a Mail Server configuration.

Version:
$Id$

Constructor Summary
MailConfiguration()
           
MailConfiguration(XWiki xwiki)
           
 
Method Summary
 void appendExtraPropertiesTo(Properties externalProperties, boolean overwrite)
          Add extraProperties to an external Properties object
 String getFrom()
           
 String getHost()
           
 int getPort()
           
 String getSmtpPassword()
           
 String getSmtpUsername()
           
 void setExtraProperties(String extraPropertiesString)
           
 void setFrom(String from)
           
 void setHost(String host)
           
 void setPort(int port)
           
 void setSmtpPassword(String smtpPassword)
           
 void setSmtpUsername(String smtpUsername)
           
 String toString()
           
 boolean usesAuthentication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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(String extraPropertiesString)

appendExtraPropertiesTo

public void appendExtraPropertiesTo(Properties externalProperties,
                                    boolean overwrite)
Add extraProperties to an external Properties object

Parameters:
externalProperties -
overwrite -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012 XWiki. All Rights Reserved.