Skip to main content

Email Connector

This guide explains how to create and configure an Email connector in Yggio. Any SMTP-compatible provider can be used.


Overview​

  • Email connectors enable sending emails via rule actions, which decide the recipients.
  • You must have access to an SMTP server (e.g., your company mail server, Gmail, etc.).
  • Required fields are validated in the UI.

Creating an Email Connector​

  1. Go to the Connectors section in the Control Panel (/control-panel-v2/connectors).
  2. Click New Connector and select Email as the type.
  3. Fill in the SMTP server details and the sender address (see below).
  4. Save the connector.

Field Details​

FieldDescriptionRequiredValidation
SMTP HostSMTP server hostname (e.g., smtp.example.com)YesNon-empty
SMTP PortSMTP server port (e.g., 465, 587)YesMust be a number
SMTP UsernameSMTP account usernameYesNon-empty
SMTP PasswordSMTP account passwordYesNon-empty
Use SSL/TLSUse SSL/TLS for SMTP connectionYestrue/false
From (Sender Email)Email address to send fromYesMust be valid email

Email connector details, showing the SMTP server host, port, username, password and SSL, and the required Email from address

Recipients are not set on the connector. A connector holds the SMTP settings and the sender address only. Who receives a message is decided where the message is sent from: the rule action, and the organisation manager. One connector therefore serves the whole account, rather than needing one per recipient.


Example​

  • SMTP Host: smtp.example.com
  • SMTP Port: 465
  • SMTP Username: admin@example.com
  • SMTP Password: your_password
  • Use SSL/TLS: true
  • From: admin@example.com

Notes​

  • Recipients are chosen per rule action, not on the connector.
  • All email addresses must be valid.
  • The connector will use the provided SMTP credentials to send emails.

Messaging Statistics​

On the saved connector page, you will see a statistics panel showing:

  • Total Sent: Number of messages successfully sent.
  • Total Fails: Number of failed send attempts.
  • Sent This Month: Number of messages sent in the current month.
  • Success Rate: Percentage of successful deliveries.
  • Attempts: Total number of send attempts (successes + failures).
  • Last Sent: Timestamp of the most recent successful send.
  • Last Failed: Timestamp of the most recent failed send.
  • Last Error: The latest error or warning message, if any, with timestamp.

Messaging Statistics Panel

These statistics help you monitor the health and performance of your connector.


Error Logging​

If the connector fails to send an email, an error log will be displayed in Logs under Resource → Connector. You can review these logs to diagnose and resolve issues with your connector configuration or SMTP server.

Error Logs