public class SmtpWriter extends AbstractMailWriter
com.sun.mail.smtp,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
SmtpWriter.AuthMethod |
static class |
SmtpWriter.CryptMethod |
AbstractMailWriter.TypeAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>DEBUG| Constructor and Description |
|---|
SmtpWriter() |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Session |
createSession(Map<String,String> customProperties) |
SmtpWriter.AuthMethod |
getAuthMethod() |
char[] |
getAuthPass() |
String |
getAuthUser() |
SmtpWriter.CryptMethod |
getCryptMethod() |
String |
getHost() |
int |
getPort() |
AbstractMailWriter.Type |
getType() |
protected javax.mail.Transport |
openTransport(javax.mail.Session session) |
void |
setAuthMethod(SmtpWriter.AuthMethod authMethod) |
void |
setAuthPass(char[] authPass) |
void |
setAuthUser(String authUser) |
void |
setCryptMethod(SmtpWriter.CryptMethod cryptMethod) |
void |
setHost(String host) |
void |
setPort(int port) |
createSession, createTransport, isDebug, setDebugclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic javax.mail.Session createSession(Map<String,String> customProperties)
createSession in class AbstractMailWriterpublic SmtpWriter.AuthMethod getAuthMethod()
public char[] getAuthPass()
public String getAuthUser()
public SmtpWriter.CryptMethod getCryptMethod()
public String getHost()
public int getPort()
public final AbstractMailWriter.Type getType()
getType in class AbstractMailWriterprotected javax.mail.Transport openTransport(javax.mail.Session session)
throws javax.mail.NoSuchProviderException,
javax.mail.MessagingException
openTransport in class AbstractMailWriterjavax.mail.NoSuchProviderExceptionjavax.mail.MessagingExceptionpublic void setAuthMethod(SmtpWriter.AuthMethod authMethod)
public void setAuthPass(char[] authPass)
public void setAuthUser(String authUser)
public void setCryptMethod(SmtpWriter.CryptMethod cryptMethod)
public void setHost(String host)
public void setPort(int port)
Copyright © 2015 OpenEstate. All rights reserved.