DOCUMENTATION

Email (SMTP) settings

Connect your own mail server so guest passwords, sponsor requests, reports and alerts leave from your domain: fields, the port and TLS rules, the test, Cloud versus on-premise behaviour and delivery tracking.

Open Settings → Email (SMTP) (the page title reads Email (SMTP) Settings). Only administrators can open or change it. One mail server is configured per organisation.

What is sent through it

Every e-mail Captivo sends on your behalf tries your own SMTP server first. The two messages below are special: they leave only through your server, never through the platform's, so that a guest's password or a sponsor request comes from your domain.

MessageWithout your own SMTP
Guest WiFi password for e-mail sign-inNot sent. No fallback.
Sponsor approval request (and its reminder)Not sent. No fallback.
Voucher codes and local-user logins e-mailed from the panel; reports (e-mailed and scheduled); team invitations; security notifications; SMS low-balance and anomaly alerts; test sends from Message TemplatesCloud: sent through the platform's mail server. On-premise: not sent (see below).

Guests only receive a password by e-mail if the E-mail sign-in method is on (Guest sign-in methods).

The fields

Settings → Email (SMTP) with sample values (acme.example is a reserved example domain).
FieldWhat to enterNotes
SMTP Hostsmtp.acme.exampleRequired.
Port587Default 587. A value that is not a number resets to 587. See the port rules below.
Usernamewifi@acme.exampleRequired. Usually the full mailbox address.
PasswordThe mailbox or app password.Required the first time. Stored encrypted and never shown again (the field shows ••••••••); leave it empty on later saves to keep it.
From Emailwifi@acme.exampleRequired. The address guests see. Keep it on your own domain and on the account you log in with.
From NameAcme Hotels WiFiThe display name next to the address.
Use TLS/SSLOn (default)Only decides the connection style on non-standard ports; on the standard ports the port wins (next section).

The Save Settings button stays disabled until host, username and from e-mail are filled. The page warns before you leave with unsaved changes. The info panel on the right lists common services (Gmail smtp.gmail.com:587, Outlook smtp.office365.com:587, SendGrid smtp.sendgrid.net:587, Mailgun smtp.mailgun.org:587).

Port and TLS rules

Standard ports have one correct behaviour, and the wrong combination breaks the connection completely (typically with the error wrong version number). So on a standard port Captivo follows the port and ignores the TLS/SSL switch:

PortWhat Captivo does
465Direct TLS: the connection starts encrypted (SMTPS), whatever the switch says.
587STARTTLS, and encryption is required: if the server does not offer it the send fails instead of going out in clear text.
25, 2525, 8025Starts in plain text and upgrades with STARTTLS when the server offers it (not enforced).
Any other portThe TLS/SSL switch decides: on means direct TLS, off means plain with STARTTLS if offered.

In practice: use 587 with your provider's STARTTLS, or 465 if the provider only offers SSL. Both work with the switch left on.

Set up and test

  1. Fill the fields. For Gmail or Google Workspace, 2-step verification must be on and you create an App Password (the panel's note says the same); use that instead of the account password. For Microsoft 365 ask your Microsoft 365 administrator whether SMTP AUTH is enabled for the mailbox and whether an app password is required.
  2. Type an address you can read in the test field and press Send Test. The button is disabled until host and username are filled.
  3. The test uses the values typed in the form, so you can test before saving; an empty password falls back to the saved one. Captivo logs in to the server and then sends a real message with the subject Captivo - SMTP Bağlantı Testi (in the panel language: Captivo - SMTP Connection Test in English).
  4. Success shows a green Operation successful banner for a few seconds, the same banner a save shows. A failure shows a red banner that starts with SMTP test failed: (SMTP testi başarısız: in the Turkish panel) followed by the server's own message (authentication failed, connection refused, certificate or TLS error). That message is the diagnosis; fix it before saving.
  5. Press Save Settings. From now on the server is used for every send. A test message does not appear in the delivery log; real sends do.

There is no on/off switch for the mail server in the panel: once saved it is in use. To stop using it you would have to replace it with a different server.

Wording of the messages themselves is edited under Message templates; SMS has its own gateway.

Cloud and on-premise

Cloud: if your organisation has no SMTP server, the non-guest messages in the table above go through the platform's mail server and the delivery log marks them Platform SMTP. Guest passwords and sponsor requests still need your own server.
On-premise: there is no platform mail server. Without your own SMTP every e-mail fails with the message E-mail (SMTP) is not configured — enter it under Settings → SMTP (in the panel language) and leaves a Failed row in the delivery log. Configure SMTP on the first day: reports, invitations and the SMS balance alert depend on it as much as guest passwords do.

Tracking delivery

Settings → Logs, tab E-mail, lists every send, 20 per page: Status (Sent or Failed), Recipient (masked), Subject with the failure reason under it, Source (Tenant SMTP or Platform SMTP) and Date. Sent means your server accepted the message; it says nothing about the recipient's inbox or spam folder.

The E-mail tab of Settings → Logs. Demo data: every row shows Failed.

Unsubscribing

Every message carries a one-click unsubscribe header, which Gmail and Outlook show as an Unsubscribe link and which helps your sender reputation. A recipient who unsubscribes is skipped from then on, for every kind of message from your organisation, including a guest's password e-mail. A skipped send is neither sent nor failed, so the log has no row for it. The panel has no page to lift an unsubscribe.

Common problems

  • Test fails with wrong version number: on a non-standard port the TLS/SSL switch does not match the server. Switch it off for a server that uses STARTTLS and on for one that expects TLS from the first byte; on ports 465 and 587 Captivo already chooses correctly.
  • Test passes but guests get no password: the guest's address unsubscribed earlier, or the message sits in spam; publish SPF and DKIM for the From Email domain.
  • Authentication failed on Gmail or Microsoft 365: use an app password and make sure the From Email belongs to the signed-in account.

Step-by-step checks: Emails do not arrive.

Was this article helpful?