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.
  • 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 Add Connector and select Email as the type.
  3. Fill in the required SMTP server details and sender/recipient addresses (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
To (Recipient Email)One or more recipient email addressesYesEach must be valid email

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
  • To: user1@example.com, user2@example.com

Notes​

  • You can add multiple recipient email addresses.
  • All email addresses must be valid.
  • The connector will use the provided SMTP credentials to send emails.

Screenshots​

Email Connector


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