Vtiger CRM Outgoing Server with Office 365 or Gmail
Vtiger CRM (the open source edition, versions 6, 7, and 8) sends email through a single Outgoing Server, and reads email using Mail Converter and the Mail Manager inbox. All three sign in with a username and password, but Microsoft 365 and Gmail require OAuth. Recent Vtiger 8 releases support OAuth for sending through Gmail, but there is no OAuth option for Microsoft 365, or for reading email.
With Auth-Email, you change the Outgoing Server and Mail Converter settings – no Vtiger upgrade or extension is needed.
💡 Using Vtiger Cloud instead of a self-hosted copy? Vtiger Cloud has its own Microsoft and Google sign-in options, so try those first. This guide is for Vtiger installations you run yourself.
Before you start: link the mailbox in your Auth-Email dashboard, and choose a password for it. That is the password you’ll enter in Vtiger CRM – not your mailbox password.
If several people send from their own addresses, link each of their mailboxes. For a shared address such as sales@, see account delegation and shared mailboxes.
Step 1: Set up Vtiger’s Outgoing Server
This server is used for all email that Vtiger sends: messages from the CRM, workflows, notifications, and campaigns. Show the settings for an account provided by Outlook:
- Sign in to Vtiger as an administrator, open the Settings menu (the gear icon), and choose CRM Settings
- Choose Outgoing Server. Depending on your version, this is under Configuration or Other Settings
- Choose Edit, and enter the following details:
- Server Type:
Others(if this option is shown – don’t choose Gmail OAuth2 or Office365) - Server Name:
ssl://outlook.auth-email.com:465 - User Name: Your full mailbox email address (e.g.,
you@outlook.com) - Password: The password you chose in Auth-Email
- From Email: The same email address. If you leave this blank, Vtiger uses each user’s own email address instead, and those addresses must be ones that the linked mailbox is allowed to send as
- Requires Authentication: Ticked
- Server Type:
- Choose Save
The ssl:// prefix and :465 port are important: they tell Vtiger to connect securely, on the right port. When you save, Vtiger sends a message with the subject “Test mail about the mail server configuration” to your own user’s email address. If saving fails, see troubleshooting below.
💡 Is your Vtiger server unable to make secure connections (for example, an old PHP version reports SSL errors)? Enable legacy SSL/TLS for the account in your dashboard, and use the server and ports in our legacy client settings instead.
Step 2: Set up incoming email (optional)
Skip this step if you only need Vtiger to send email.
Mail Converter (creating records from incoming email)
Mail Converter scans a mailbox and creates or updates leads, contacts, and tickets. In CRM Settings, choose Mail Converter, then Add MailBox (or edit an existing mailbox), and enter:
- Scanner Name: A name to identify this mailbox (e.g., “Support”)
- IMAP Server Name:
outlook.auth-email.com - Protocol:
IMAP4 - User Name: Your full mailbox email address (e.g.,
you@outlook.com) - Password: The password you chose in Auth-Email
- SSL Type:
SSL - SSL Method:
Validate SSL Certificate
Choose Next to connect and pick the folders to scan, then add your rules as usual.
Mail Manager (each user’s inbox in Vtiger)
Each user can connect their own mailbox in the Mail Manager (Email or Mail Manager in the main menu). Link the user’s mailbox in Auth-Email first, then open the Mail Manager settings and enter:
- Mail Server Name or IP:
outlook.auth-email.com - User Name: The user’s full email address
- Password: The password chosen for that mailbox in Auth-Email
- Protocol:
IMAP4 - SSL Options:
SSL - Certificate Validations:
Validate cert
If a server type is offered, choose Other.
Troubleshooting
- Saving the Outgoing Server fails, or emails stay in the queue: check that Server Name starts with
ssl://and ends with:465, that Requires Authentication is ticked, and that the password is the one you chose in Auth-Email, not your mailbox password “Sender address rejected” or “SendAsDenied”: the From Email must be the linked mailbox, or an address that the mailbox is allowed to send as. If From Email is blank, Vtiger sends as the logged-in user, which often causes this – fill it in
Mail Converter can’t connect: check that PHP’s IMAP extension is installed on your Vtiger server, and that the server can make outgoing connections on port
993
For other errors, such as Microsoft 365 reporting that SMTP AUTH is disabled, see fixing common errors. Your account’s connection page in the Auth-Email dashboard also shows whether Vtiger CRM has connected, and explains any error it received. Still stuck? Email us – we’ll help you get it working.
Related articles
Try Auth-Email with Vtiger
Link your mailbox, update the Outgoing Server settings, and send yourself a test message. There’s nothing to install.
Start your free trial →No credit card needed. Check that it works, including sending yourself test messages, before you pay.