public class POP3Service extends StoreService implements atg.service.email.pop.POP3StatusListener
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Deprecated.  
Class version string 
 | 
protected java.lang.String | 
mAttachmentDirectory
Deprecated.  
The default attachment directory 
 | 
protected atg.service.email.pop.POP3 | 
mPop3
Deprecated.  
Specifies the POP3 instance 
 | 
protected boolean | 
mUsingJavaMailProvider
Deprecated.  
Flag indicating if we are using java mail to connect to
 the pop server, or if we are using our old style server
 connection. 
 | 
mBatchSize, mBounceListeners, mEmailExaminers, mEnabled, mFireBouncedMailEvents, mFireInboundMailEvents, mFolder, mHost, mInboundListeners, mJobId, mPassword, mPasswordAlias, mPasswordBroker, mPort, mProtocol, mRemoveBouncedEMail, mRemoveEMail, mRemoveMalformedEmail, mRemoveUnsupportedEncodingEMail, mSchedule, mScheduler, mUsernameSERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
POP3Service()
Deprecated.  
Create a disconnected  
POP3Service object | 
| Modifier and Type | Method and Description | 
|---|---|
protected javax.mail.Message | 
createJavaMailMessage(atg.service.email.pop.POP3MailMessage pPOP3Message)
Deprecated.  
Utility method to take a POP3MailMessage and construct a
  
javax.mail.Message out of it. | 
void | 
fireInboundMailEvent(atg.service.email.pop.POP3MailMessage pMsg,
                    boolean pBounced)
Deprecated.  
Notify listening objects that an email has been received 
 | 
java.lang.String | 
getAttachmentDirectory()
Deprecated.  
Returns the directory where attachments are stored. 
 | 
atg.service.email.pop.POP3 | 
getPOP3Instance()
Deprecated.  
Returns the current POP3 instance 
 | 
boolean | 
isUsingJavaMailProvider()
Deprecated.  
Flag indicating if we are using java mail to connect to
 the pop server, or if we are using our old style server
 connection. 
 | 
void | 
performScheduledTask(Scheduler pScheduler,
                    ScheduledJob pJob)
Deprecated.  
Performs the scheduled task for this service. 
 | 
void | 
pop3Status(atg.service.email.pop.MailStatusEvent evt)
Deprecated.  
This method is called whenever POP3 commands are
 sent to/from the server. 
 | 
void | 
setAttachmentDirectory(java.lang.String pAttachmentDirectory)
Deprecated.  
Set the directory where attachments are stored. 
 | 
void | 
setPOP3Instance(atg.service.email.pop.POP3 inPop)
Deprecated.  
Sets the currently active POP3 instance with another. 
 | 
void | 
setUsingJavaMailProvider(boolean pUsingJavaMailProvider)
Deprecated.  
Flag indicating if we are using java mail to connect to
 the pop server, or if we are using our old style server
 connection. 
 | 
addBounceListener, addEmailExaminer, addInboundListener, doStartService, doStopService, fireInboundMailEvent, fireInboundMailEvent, fireMailBounceEvent, fireMailBounceEvent, getBatchSize, getEmailExaminers, getFolder, getHost, getPassword, getPasswordAlias, getPasswordBroker, getPort, getProtocol, getRemoveBouncedEMail, getRemoveEMail, getRemoveMalformedEmail, getRemoveUnsupportedEncodingEMail, getSchedule, getScheduler, getUsername, isEnabled, isFireBouncedMailEvents, isFireInboundMailEvents, removeBounceListener, removeEmailExaminer, removeInboundListener, setBatchSize, setEmailExaminers, setEnabled, setFireBouncedMailEvents, setFireInboundMailEvents, setFolder, setHost, setPassword, setPasswordAlias, setPasswordBroker, setPort, setProtocol, setRemoveBouncedEMail, setRemoveEMail, setRemoveMalformedEmail, setRemoveUnspportedEncodingEMail, setSchedule, setScheduler, setUsernameaddLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
protected atg.service.email.pop.POP3 mPop3
protected java.lang.String mAttachmentDirectory
protected boolean mUsingJavaMailProvider
public POP3Service()
POP3Service objectpublic boolean isUsingJavaMailProvider()
public void setUsingJavaMailProvider(boolean pUsingJavaMailProvider)
pUsingJavaMailProvider - true if we should use the
                               javamail provider, false
                               if we should be using our
                               old style parser.public void setPOP3Instance(atg.service.email.pop.POP3 inPop)
newPop3 - The new Pop3 instancepublic atg.service.email.pop.POP3 getPOP3Instance()
POP3public void setAttachmentDirectory(java.lang.String pAttachmentDirectory)
pAttachmentDirectory - The directory where attachments are
 going to be storedpublic java.lang.String getAttachmentDirectory()
public void fireInboundMailEvent(atg.service.email.pop.POP3MailMessage pMsg,
                        boolean pBounced)
pMsg - The POP3MailMessage that was created for this emailpBounced - whether or not this message was bouncedpublic void pop3Status(atg.service.email.pop.MailStatusEvent evt)
pop3Status in interface atg.service.email.pop.POP3StatusListenerevt - COMMAND, RESPONSE, PROGRESS, START, DONEpublic void performScheduledTask(Scheduler pScheduler, ScheduledJob pJob)
performScheduledTask in interface SchedulableperformScheduledTask in class StoreServicepScheduler - the scheduler that alerts this service to perform
 its scheduled taskpJob - the ScheduledJob for this serviceprotected javax.mail.Message createJavaMailMessage(atg.service.email.pop.POP3MailMessage pPOP3Message)
                                            throws javax.mail.MessagingException
javax.mail.Message out of it.pPOP3Message - the POP3MailMessage we'll use to construct
 a javax.mail.Messagejavax.mail.MessagingException - if anything goes wrong while
 trying to create the Message