Package de.xima.fc.mail.impl
Class MailContext
- java.lang.Object
-
- de.xima.fc.mail.impl.MailContext
-
- All Implemented Interfaces:
IMailContext
public final class MailContext extends Object implements IMailContext
Allgemeiner SMTP-Kontext für E-Mail-Versand und Session-Verwaltung.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.xima.cmn.filter.IGenericFilter<javax.mail.Address>
getAddressFilter()
javax.mail.Authenticator
getAuthenticator()
Properties
getProperties()
void
send(IBaseMailData mail)
void
send(IBaseMailData mail, Mandant client)
Verschickt eine E-Mail unter Verwendung der übergebenen Parametervoid
setAddressFilter(de.xima.cmn.filter.IGenericFilter<javax.mail.Address> addressFilter)
void
setAuthenticator(javax.mail.Authenticator auth)
void
setProperties(Properties properties)
-
-
-
Method Detail
-
getProperties
public Properties getProperties()
-
setProperties
public void setProperties(Properties properties)
-
getAuthenticator
public javax.mail.Authenticator getAuthenticator()
-
setAuthenticator
public void setAuthenticator(javax.mail.Authenticator auth)
-
setAddressFilter
public void setAddressFilter(de.xima.cmn.filter.IGenericFilter<javax.mail.Address> addressFilter)
- Specified by:
setAddressFilter
in interfaceIMailContext
-
getAddressFilter
public de.xima.cmn.filter.IGenericFilter<javax.mail.Address> getAddressFilter()
-
send
public void send(IBaseMailData mail) throws Exception
- Specified by:
send
in interfaceIMailContext
- Throws:
Exception
-
send
public void send(IBaseMailData mail, Mandant client) throws Exception
Verschickt eine E-Mail unter Verwendung der übergebenen Parameter- Specified by:
send
in interfaceIMailContext
- Parameters:
mail
- Mail-Parameter.- Throws:
Exception
-
-