Comment to 'Mailer Problem Resolved'
  • SMTP Mailer Requirements for UNA CMS

    To send emails from UNA CMS using the SMTP Mailer module, two conditions must be met:

    1. You must have a functional SMTP service:

    • Remote SMTP provider (Mailgun, Gmail, Zoho, SendGrid, etc.)

    or

    • Local SMTP server installed on your machine (Postfix, Exim, etc.)

    2. You must connect using one of these authentication methods:

    • Username and password

    or

    • API key (depending on the SMTP provider)

    Indeed, to send emails from UNA CMS using the SMTP Mailer module, you must have a functional SMTP service, either a remote provider such as Mailgun, Gmail, Zoho, etc., or a local SMTP server installed on your machine (Postfix, Exim). SMTP mail is used to connect UNA CMS to this email service, but for the connection to work correctly, the SMTP service must be properly installed, configured, and running (typically on port 587 for secure TLS).

    In the UNA SMTP Mailer module, you need to:

    • enable the mailer,
    • choose whether authentication is required,
    • provide the SMTP username and password (e.g., contact@example.com) or an API key,
    • set the SMTP server address (e.g., smtp.example.com), or localhost if the service its local
    • choose the correct port (25, 465, or 587),
    • enable TLS, or SSL
    • optionally allow self-signed certificates,
    • define the “From” name (e.g., Your Site Name!),
    • configure test mode if needed.

    For reliable email delivery, you must also configure the necessary DNS records (SPF, DKIM, DMARC). The SMTP Mailer module itself does not send emails; it only acts as a bridge between UNA CMS and your actual SMTP server.

    Diagram

                     +-----------------------+
                     |      UNA CMS          |
                     +-----------+-----------+
                                 |
                                 |  SMTP settings
                                 v
                     +-----------------------+
                     |   SMTP Mailer Bridge  |
                     | (username/password or |
                     |        API key)       |
                     +-----------+-----------+
                                 |
                                 |  Connects via SMTP
                                 v
            +------------------------------------------------+
            |                SMTP SERVER                     |
            |                  (local or remote)             |
            |  (Mailgun / Gmail / Zoho / Postfix / Exim)     |
            +-----------+----------------+-------------------+
                        |                |
                        | Uses DNS       | Sends Email
                        v                v
            +------------------+     +------------------------+
            |   DNS Records    |     |     Email Recipient    |
            | SPF / DKIM /     |---->|   (Inbox / Mail App)   |
            |     DMARC        |     +------------------------+
            +------------------+