10 - Collecting incoming messages - Background Information
Click here for main text
When the 'RexxMail -- Dispatch' program object is double-clicked, it calls RexxMail with the '/dispatch' switch. RexxMail then sends any mail in the 'Out' folder that is ready for sending, and checks the POP3 server specified in the 'settings.txt' file for waiting mail. If no POP3 server is specified (or if the POP3 user name or password is missing), RexxMail will not collect mail.

Incoming mail messages collected by other means (e.g. an external POP3 program) may be registered by calling RexxMail with the '/register' switch. Registering involves setting the extended attributes and icon of a mail file to reflect its status as an incoming and unread message, moveing the file to the 'In' folder, and rewriting the message file object's title to reflect its contents.

Note that the contents of incoming mail message files are always left unchanged, even after viewing them. All RexxMail has to do is to change each message file's EAs and icon to reflect its status.

The warning beeps and the warning icon can be suppressed by changing the relevant entries in the 'settings.txt' file.


© 2001 M.C. de Geus
Last updated 20010920