5.14.2 Using the POP3MailService

Whether you are writing your client application in RDML / RDMLX or in a 3GL such as RPG, you have to complete the same basic steps.

For example, an application that reads an email using POP3MailService would typically issue the following sequence of commands:





               GET (repeated)

               READ or SAVE


          [end loop]




The GET command is typically used repeatedly to retrieve the next message and then get the details of the current message. The SAVE or READ command is used to process any file attachments.

Refer to Java Service Manager Clients for the command details that apply to your chosen development language.