SMTP
The SMTP page configures the outbound email that the virtual site uses for shared object links and for event handler scripts. When these settings are correct, the server can deliver the public links generated when users share files and folders, and the messages a script sends with SendMail().

Delivery method
The first field chooses how mail leaves. The rest of the card shows the settings of the method you chose.
- SMTP server: an SMTP server or relay, with a user name and password or with no sign in at all. A configuration saved before version 8.14.0 uses this method and keeps working unchanged.
- Microsoft 365: the message is handed to Microsoft over HTTPS, signed in as an app registration of your tenant.
- Google Workspace: the message is handed to Google over HTTPS, signed in as a service account of your Workspace.
Choose one of the two providers when yours no longer accepts a user name and password for SMTP. What to set up on the provider's side, step by step, is in Email through Microsoft 365 and Google Workspace.
SMTP server settings
Server host
The host name or IP address of the SMTP server that will relay outbound messages.
Port
The TCP port the SMTP server listens on. Common values are 587 for explicit STARTTLS, 465 for implicit SMTPS, and 25 for unencrypted submission. The field accepts any value from 1 to 65535.
TLS mode
How the connection to the SMTP server is secured. Three modes are available:
- None: the session is opened in clear text with no transport encryption.
- Implicit (SMTPS): TLS is negotiated immediately when the socket opens, typically on port 465.
- Explicit (STARTTLS): the session begins in clear text and is upgraded to TLS with the STARTTLS command, typically on port 587. The upgrade is required: a server that does not offer it gets no message.
Every message the site sends follows this mode, share invitations included.
Sender address
The address that appears in the From header of every message the server sends, for example noreply@example.com.
Username
The account name used to authenticate with the SMTP server. This field is optional; leave it empty when the relay accepts unauthenticated submission.
Password
The password that pairs with the username. The password is stored as an encrypted secret. An existing password is never echoed back into the form; type a new value only when you want to change it, or clear it to remove it.
A stored password belongs to the server it was entered for. When you change the host or the port and keep the stored password, the page asks you to enter the password again, both when you save and when you send a test email.
Custom HELO
The host name announced to the SMTP server during the HELO or EHLO handshake. This field is optional; leave it empty to use the default. Some strict relays reject connections whose announced host name does not resolve, so set this when the default value is not accepted.
Microsoft 365 settings
Sender address
The address of the mailbox the mail is sent from. It is required.
Mailbox
Optional. Leave it empty when the sender address is the mailbox itself. Fill it in when the mail must leave from another mailbox that is allowed to send as the sender address.
Directory (tenant) ID and Application (client) ID
The two identifiers shown on the Overview page of the app registration in Microsoft Entra. The tenant can also be given as one of its domain names.
Client secret
The value of a client secret of the app registration. It is stored as an encrypted secret and never shown again; Replace lets you enter a new one, for example before the old one expires.
Google Workspace settings
Sender address
The address of the Workspace user the mail is sent as. It is required.
Mailbox
Optional. Leave it empty when the sender address is the user's own address. Fill it in with the user when the sender address is one of that user's "Send mail as" addresses.
Service account key
The JSON key file of the service account, as downloaded from Google Cloud. Choose the file; it is stored as an encrypted secret when you save and never shown again. Replace key file loads a new one.
Service account and Client ID for delegation
Shown once a key is stored. The server reads them from the key. The Client ID for delegation is the number a Workspace super administrator enters when granting the service account domain wide delegation for the scope https://www.googleapis.com/auth/gmail.send.
Send a test email
Use the Send test email button in the page header to confirm that the current settings actually deliver mail.
The dialog asks for a single Recipient address, then sends a test message using the settings shown on the page, including any unsaved changes. This lets you verify a new configuration before committing it. A secret you did not enter again is taken from the saved configuration, so a saved configuration can be tested as it is.
On success a confirmation appears; check the recipient inbox to confirm delivery. On failure the message says what kind of failure it was (the settings are incomplete, the provider refused the credentials, the credentials may not send as the mailbox, the mailbox is unknown, the provider could not be reached) followed by the provider's own words. What a failure means lists what to check for each.
Saving
Use the Save button in the page header to persist the configuration. The page sends a secret only when you have entered a new one or explicitly cleared it.
