How to add a new email provider
GpsGate server uses SMTP servers to forward system and application notifications and reports.
You can set up one or more SMTP servers according to your needs.
Creating new email providers
1. Access Main Menu > Platform Settings > Account Settings > Email Providers
2. Click on + Email provider to add a new one.
A form is displayed to let you input provider information.
3. Fill up the form according to what is needed to add your provider.
4. Under Authentication, choose how the provider signs in to the SMTP server:
- Username and password: enter the SMTP Username and SMTP Server Password. When you edit a provider later, the stored password is not shown; leave the password field empty to keep it.
- Microsoft 365 sign-in: use this if you send email through Microsoft 365 (see below).
5. Click Save. You can check the setup with Send test email on the Email Providers tab.
Sending through Microsoft 365
Microsoft is turning off password sign-in for sending email over SMTP. If your email provider uses a Microsoft 365 mailbox (for example an office365.com or outlook.com server), choose Microsoft 365 sign-in instead of a username and password. The form shows a warning if a username and password provider points at a Microsoft server.
1. In the Microsoft Entra admin center, go to App registrations and register a new app.
2. Under Authentication, turn on Allow public client flows.
3. Under API permissions, add the delegated Microsoft Graph permissions SMTP.Send and offline_access, and grant admin consent.
4. In the Microsoft 365 admin center, go to Users > Active users, select the mailbox that sends the email, and under Mail > Manage email apps turn on Authenticated SMTP. It can take up to an hour to apply.
5. In GpsGate, in the email provider form, select Microsoft 365 sign-in and enter the Application (client) ID and the Directory (tenant) ID from the app's Overview page. The tenant ID can also be a domain, such as contoso.onmicrosoft.com.
6. Click Save. Under Sign in to the mailbox, the window shows a code and an Open sign-in page link. Open the link, enter the code on Microsoft's sign-in page and sign in as the mailbox that sends the email. While GpsGate waits, the window shows Waiting for sign-in; click Cancel sign-in to stop.
7. When the sign-in is complete, the window shows Mailbox connected. The provider now sends email as that mailbox.
Note: If the sign-in fails, the window tells you what to fix (for example, the app or tenant was not found, public client flows are off, admin consent is missing, the code expired, or Authenticated SMTP is off). If a connected mailbox stops working, the provider shows Sign-in stopped working and no email is sent through it until you click Reconnect mailbox. Changing the client ID or tenant ID also requires signing in again.