|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.email.AbstractMailConnector
org.mule.transport.email.SmtpConnector
public class SmtpConnector
SmtpConnector is used to connect to and send data to an SMTP mail
server
| Field Summary | |
|---|---|
static String |
DEFAULT_CONTENT_TYPE
|
static String |
DEFAULT_SMTP_HOST
|
static int |
DEFAULT_SMTP_PORT
|
static String |
SMTP
|
| Fields inherited from class org.mule.transport.email.AbstractMailConnector |
|---|
MAILBOX |
| Fields inherited from class org.mule.transport.AbstractConnector |
|---|
connected, connecting, connectionStrategy, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
SmtpConnector()
|
|
| Method Summary | |
|---|---|
org.mule.api.transport.MessageReceiver |
createReceiver(org.mule.api.service.Service service,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
|
protected void |
doInitialise()
|
String |
getBccAddresses()
|
String |
getCcAddresses()
|
String |
getContentType()
|
Properties |
getCustomHeaders()
|
int |
getDefaultPort()
|
String |
getFromAddress()
|
String |
getPassword()
|
String |
getProtocol()
|
String |
getReplyToAddresses()
|
String |
getSubject()
|
String |
getUsername()
|
void |
setBccAddresses(String string)
|
void |
setCcAddresses(String string)
|
void |
setContentType(String contentType)
|
void |
setCustomHeaders(Properties customHeaders)
|
void |
setFromAddress(String string)
|
void |
setPassword(String password)
|
void |
setReplyToAddresses(String replyTo)
|
void |
setSubject(String string)
|
void |
setUsername(String username)
|
| Methods inherited from class org.mule.transport.email.AbstractMailConnector |
|---|
doConnect, doDisconnect, doDispose, doStart, doStop, dumpProperties, extendPropertiesForSession, getAuthenticator, getBaseProtocol, getMailboxFolder, getSessionDetails, newSession, setAuthenticator, setMailboxFolder, urlFromEndpoint |
| Methods inherited from class org.mule.transport.AbstractConnector |
|---|
checkDisposed, connect, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, disposeRequesters, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMaxRequestersActive, getMessageAdapter, getMuleContext, getName, getNumberOfConcurrentTransactedReceivers, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isRemoteSyncEnabled, isStarted, isSyncEnabled, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, send, setConnectionStrategy, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherThreadingProfile, setDynamicNotification, setExceptionListener, setMaxDispatchersActive, setMaxRequestersActive, setMuleContext, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterThreadingProfile, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, start, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, workAccepted, workCompleted, workRejected, workStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SMTP
public static final String DEFAULT_SMTP_HOST
public static final int DEFAULT_SMTP_PORT
public static final String DEFAULT_CONTENT_TYPE
| Constructor Detail |
|---|
public SmtpConnector()
| Method Detail |
|---|
public String getProtocol()
protected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class AbstractMailConnectororg.mule.api.lifecycle.InitialisationException
public org.mule.api.transport.MessageReceiver createReceiver(org.mule.api.service.Service service,
org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws Exception
createReceiver in class org.mule.transport.AbstractConnectorExceptionpublic String getFromAddress()
public String getBccAddresses()
public String getCcAddresses()
public String getSubject()
public void setBccAddresses(String string)
public void setCcAddresses(String string)
public void setSubject(String string)
public void setFromAddress(String string)
public String getReplyToAddresses()
public void setReplyToAddresses(String replyTo)
public Properties getCustomHeaders()
public void setCustomHeaders(Properties customHeaders)
public String getContentType()
public void setContentType(String contentType)
public int getDefaultPort()
getDefaultPort in class AbstractMailConnectorpublic String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||