The mail sender and mail reader are mail user agents (MUA), with which you can send and receive e-mails in BS2000:
With the mail sender in interNet Services you can send e-mails to the local mail server in POSIX or to remote mail servers. The mail sender provides you with the usual functions for sending e-mails, allowing you, for example, to specify “To”, “Cc” and Bcc” recipients or attach files. In addition, you can also send automated lists, for example, as e-mails from within BS2000 procedures.
You can sign and/or encrypt e-mails in accordance with S/MIME and send them to the mail server over a TLS-secured SMTP connection.
The mail reader in interNet Services permits the automated processing of received e-mails. The mail reader allows you in BS2000 to use the access services POP3 and IMAP to access mailboxes located in POSIX or on a remote server and to retrieve and further process e-mails contained in them.
The mail reader in BS2000 offers you two options for further processing e-mails:
Procedures allow you to access an e-mail’s header, message body and attachments.
At the C++ programming interface, the entire e-mail is transferred to the application as an instance of a C++ class for further processing.
The open-source product mimelib is used to represent the e-mail at the software level. This makes classes available that provide easy access to the e-mail.