|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MailReceiver
For each mail retrieved from the POP3 server,
received(ReceivedMail,ConfigPerPop3) is called.
Pop3Receiver connects to the POP3 server and
retrieves a series of incomming e-mails.
For each incomming e-mail, Pop3Receiver creates the
instance of ReceivedMail and calls:
ReceivedMail has a set of getXX
methods, the implementation of this interface can access
the various parts of the incomming e-mail, such as the
subject, TO address, FROM address and body text.
In addtition, the body of the file attachment is also
available in ReceivedMail along with the file name
and Content-Type.
ReceivedMail| Method Summary | |
|---|---|
void |
init()
After Pop3Receiver creates the instance of this
interface, this method is called. |
void |
received(ReceivedMail mail,
ConfigPerPop3 config)
For each mail retrieved from the POP3 server, this method is called. |
| Method Detail |
|---|
void received(ReceivedMail mail,
ConfigPerPop3 config)
Pop3Receiver connects to the POP3 server and
retrieves a series of incomming e-mails.
For each incomming e-mail, Pop3Receiver creates the
instance of ReceivedMail and calls this method.
ReceivedMail has a set of getXX
methods, the implementation of this interface can access
the various parts of the incomming e-mail, such as the
subject, TO address, FROM address, body text and so on.
In addtition, the body of the file attachment is also
available in ReceivedMail along with the file name
and Content-Type.
ReceivedMail fully depends on
your implementation.
mail - The instance of ReceivedMail which
represents the e-mail from the POP3 server.config - The instance of ConfigPerPop3, where a set of configuration
parameters are available.
void init()
throws NestedException
Pop3Receiver creates the instance of this
interface, this method is called.
NestedException
|
OOP Pop3Receiver Version 2.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.