Skip to main content

Library: Mail Service SL

The Mail Service SL library contains function blocks to send, receive, and delete emails by means of SMTP and POP3 protocols. Communication with the mail server can be encrypted (TLS) or unencrypted.

Function blocks:

  • ServerFB

    Basic function block for SMTP and POP3 connections

    Encrypted (TLS) and unencrypted connections can be established to a mail server (SMTPS).

  • SendMail

    Function block for sending emails via SMTP

  • ReceiveMail

    Function block for receiving emails via POP3

    The oldest email is always retrieved from the server.

  • DeleteMail

    Function block for deleting emails via POP3

The mail server has to support unique mail IDs so that emails can be received or deleted from the server.