public class DirectMailClient extends AbstractMailClient implements org.springframework.beans.factory.InitializingBean
AbstractMailClient.Format, AbstractMailClient.SecurityIMailClient.MailException| Constructor and Description |
|---|
DirectMailClient() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.mail.Session |
createSmtpSession(String domain) |
int |
getCacheConcurrency() |
long |
getCacheExpirationMin() |
String |
getLocalAddress() |
String |
getLocalHost() |
protected javax.mail.Session |
getSmtpSession(String recipient) |
boolean |
getStartTLSEnabled() |
DirectMailClient |
init() |
protected boolean |
isTemporary(javax.mail.MessagingException e) |
void |
setCacheConcurrency(int cacheConcurrency) |
void |
setCacheExpirationMin(long cacheExpirationMin) |
void |
setLocalAddress(String localAddress) |
void |
setLocalHost(String localHost) |
void |
setProxySet(Boolean proxySet) |
void |
setSocksProxyHost(String socksProxyHost) |
void |
setSocksProxyPort(String socksProxyPort) |
void |
setStartTLSEnabled(boolean startTLSEnabled) |
protected String |
toErrorMessage(javax.mail.MessagingException e) |
afterPropertiesSet, getFormat, getFrom, getReplyTo, send, send, setFormat, setFrom, setFrom, setFrom, setReplyTo, setReplyTo, setReplyTopublic DirectMailClient init() throws IMailClient.MailException
init in class AbstractMailClientIMailClient.MailExceptionprotected javax.mail.Session getSmtpSession(String recipient) throws IMailClient.MailException
getSmtpSession in class AbstractMailClientIMailClient.MailExceptionprotected javax.mail.Session createSmtpSession(String domain) throws IMailClient.MailException
IMailClient.MailExceptionprotected String toErrorMessage(javax.mail.MessagingException e)
toErrorMessage in class AbstractMailClientprotected boolean isTemporary(javax.mail.MessagingException e)
isTemporary in class AbstractMailClientpublic int getCacheConcurrency()
public void setCacheConcurrency(int cacheConcurrency)
public long getCacheExpirationMin()
public void setCacheExpirationMin(long cacheExpirationMin)
public void setLocalAddress(String localAddress)
public void setLocalHost(String localHost)
public String getLocalAddress()
public String getLocalHost()
public void setStartTLSEnabled(boolean startTLSEnabled)
public boolean getStartTLSEnabled()
public void setSocksProxyHost(String socksProxyHost)
public void setSocksProxyPort(String socksProxyPort)
public void setProxySet(Boolean proxySet)
Copyright © 2015 Molindo GmbH. All Rights Reserved.