SuiteCRM outbound email with SMTP or OAuth

How to choose between SMTP and OAuth-based outbound email in SuiteCRM 8, what each option means for users, notifications and campaigns, and how to test before go-live.

On this page

How SuiteCRM outbound email works and when teams need OAuth

Outbound email is the mail SuiteCRM sends on its own behalf or on behalf of a user, and that includes messages a user writes from a record, notifications the system raises, and campaign mail sent to lists. Each of these paths authenticates to a mail server, and the choice between an SMTP account and an OAuth-based outbound account determines how that authentication works. Getting this decision right early matters because it affects which mailbox the messages appear to come from, who can manage the credentials, and what happens when a password or consent changes. The sending side is separate from the inbound mailboxes that SuiteCRM imports, so a working inbox does not prove that outbound mail will work.

SMTP accounts are the familiar model: SuiteCRM connects to a mail server with a host, port, and credentials that an administrator enters. This is simple to set up and fits system notifications and shared sending addresses well. OAuth-based outbound accounts, added in SuiteCRM 8.8.1, let a user or group authorize SuiteCRM against a mail provider's OAuth flow instead of storing a password for that mailbox. OAuth fits better when a provider has moved away from basic authentication, when individual users must send from their own addresses, or when security teams want revocable, per-account consent rather than a shared secret. Confirm with your mail provider which authentication methods it still accepts for SMTP submission before you choose.

This page helps you decide which model fits each sending use case, then walks through configuration, deliverability basics, and testing before go-live. Start by listing your sending paths (personal sending, notifications, campaigns) and the mailbox each one should use. Then check your mail provider's current requirements and your identity team's policy on stored credentials. Those two answers usually settle the choice. Plan a test sender and a test recipient list in a staging instance before you change anything in production, so that any authentication or sender-address problem shows up before users depend on the mail.

SMTP and OAuth outbound options compared

This table compares SMTP accounts with OAuth-based outbound accounts in SuiteCRM across authentication, the mailbox owner they serve, admin effort and what to confirm with your mail provider. Read each row as a question to settle before go-live, since the right choice depends on whose mail is being sent and what your provider permits.

FactorSMTP accountOAuth-based outbound account
AuthenticationUsername and password or app-specific credential supplied to the mail serverAccess granted through an OAuth provider with tokens, so no shared password is stored in SuiteCRM
Who it usually servesShared system mail for notifications and automated messagesIndividual users or a group mailbox that a person or team sends from
Admin effortSet host, port, encryption and credentials once, then rotate the credential when it changesRegister the provider, complete consent for each mailbox, and handle re-consent when tokens are revoked
Credential rotationManual change in SuiteCRM and the mail server when the password is rotatedToken refresh handled by the connection, but revoked consent requires a user or admin to reconnect
Audit and ownershipSending identity is a shared account, so logs show the system rather than the personSends can be tied to the connected mailbox owner, which helps with accountability
Campaign sendingUsually suited to volume from one sender identity, subject to provider sending limitsCheck whether the provider's sending limits and policies apply to the connected account before using it for campaigns
What to confirm with the providerRequired ports, encryption mode, sending limits, SPF, DKIM and DMARC records for your domainWhether OAuth sending is permitted for your account type, required scopes, consent policy and any tenant-level restrictions
Testing before go-liveSend test messages from each sending account to internal and external mailboxes and check headersConnect a test mailbox, send and receive, confirm reconnection after a revoked consent, and check headers

Which outbound use cases need which account

Outbound email in SuiteCRM serves four use cases that look alike on screen but have different owners, volumes and risks. Settle the sender identity and mailbox ownership for each one before choosing between an SMTP account and an OAuth-based outbound account, because the choice affects who can send, what recipients see and who answers replies.

User-sent email from CRM records

Sales and service staff send messages from contact, account, lead and case records, and replies often need to return to the same person. A personal sender identity usually fits, with each user's own address shown to the recipient. Check whether each user will authorize their own mailbox, whether your mail provider permits per-user OAuth consent, and whether sent messages should be saved back to the related record. Confirm how replies are routed before rollout, since a reply that lands in an unmonitored inbox leaves the customer waiting.

Compatibility matrix

System notifications

Notifications such as password resets, workflow alerts and scheduled report deliveries are sent by the application, not by a person. They need a non-personal sender address, a stable SMTP or OAuth identity that does not depend on one employee's password, and enough reliability that a failed alert is noticed. Ask who owns the sending account after a staff change, how credentials are rotated without a service outage, and which address recipients see in the From field. Test each notification type once, not only the generic test message.

Campaign email

Campaign sends go to large lists under a company brand, so the sending account is judged by mail providers on volume and complaint rates. Settle the sending domain, authentication records and unsubscribe handling before choosing the account, and confirm that the provider allows the sending volume you plan. Bounced and failed deliveries need a separate return path, so check how bounce processing will be configured. Do not reuse a personal mailbox for campaigns, because one complaint spike can restrict that employee's ordinary business mail.

Shared company address

Shared addresses such as support, billing or sales@ are sent from by several people in the same team. The account should belong to the organization, not an individual, and access should be limited to the roles that need it. Decide whether replies from the shared address will be visible to the whole group, whether sent items are kept in one shared folder, and who approves a change of password or OAuth consent. Record the owner in your access register so the mailbox does not become orphaned when its original administrator leaves.

Setting up outbound email in SuiteCRM 8 step by step

This sequence takes an outbound mail account from version check to verified test sends, so users, notifications and campaigns each have a sender that has been proven to work before anyone relies on it.

  1. Confirm the SuiteCRM version and platform support

    Your admin confirms which SuiteCRM 8.x release is running and checks that the PHP, web server, database and operating system versions appear in the compatibility matrix for that release. The 8.10 line lists PHP 8.2, 8.3 and 8.4, Apache 2.4, several MariaDB and MySQL versions, and Linux, Unix or macOS hosts. Record the version and component versions in your change ticket. Done means the running release is on the matrix and nothing is flagged as unsupported.

  2. Choose SMTP or an OAuth outbound account

    Decide which authentication method the mail provider will accept for this sender. A basic SMTP account suits a dedicated sending identity that your mail platform supports, while an OAuth-based outbound account, which SuiteCRM added in 8.8.1, suits providers that have retired basic authentication. Confirm with your mail administrator which method, host, port, encryption and service account are allowed, and whether the sending mailbox needs a specific permission. Done means you have written settings from the provider and the chosen method is documented.

  3. Create the outbound account in SuiteCRM

    An administrator creates the outbound email account in SuiteCRM with the host, port, encryption, username and sender address or OAuth connection the provider gave you. Store any password or client secret through your approved secret handling process, not in shared notes. Save the record and use the built-in connection test if it is offered for that account type. Done means the account saves without errors and the connection test reports success.

  4. Set the default sender and display name

    Set the From address and display name that recipients will see on system notifications and campaign messages. Use a monitored, role-based address such as a support or notifications mailbox, so replies reach people who will act on them. Check that the reply-to address points where you want replies to go. Done means the default sender is saved and matches the domain your DNS sender records authorize, which your mail administrator should confirm.

  5. Assign which users and groups can send

    Grant use of the outbound account only to the users, roles or groups that need it, such as the notifications process or a named sales team. Keep campaign and bulk sending on a separate account from personal and transactional sending so a bounce problem or list issue does not affect everyday mail. Confirm the assignment by logging in as a test user in each group and checking that the account is offered and others are not. Done means access matches your written sender policy.

  6. Send test messages to internal and external addresses

    Send a test from a user account to an internal mailbox and to an external mailbox you control, and trigger one system notification. Open the received messages and confirm the sender address, display name, reply-to and that the message is not placed in spam or rejected. Check the mail server logs for the accepted message ID. Done means every test arrives with the expected sender and the logs show an accepted delivery for each path.

  7. Keep the account out of bulk sends until testing passes

    Before running any campaign, confirm that the account used for tests has no campaign or bulk sending role and that the campaign sender is a separate, approved account. Do not point list-based campaigns at the outbound account until the test sends pass and your bounce handling is in place. Record the sign-off with the names of the reviewer and the date. Done means a written go-live decision exists for each sender, with bulk use limited to the accounts you approved.

  8. Document the configuration and retest after changes

    Record the account settings, owners, assigned groups, test results and the process for rotating credentials, then repeat the test sends after any SuiteCRM upgrade, provider change or DNS change. Ask your DeployOpen or internal team to confirm the upgrade notes for your release before patching. Done means the runbook names the owner of each outbound account and the retest is part of your change process.

Deliverability basics that affect campaign and notification mail

Whether SuiteCRM mail reaches an inbox depends less on the SuiteCRM settings themselves than on how the receiving servers judge the sender. Four things carry most of the weight: the sender identity (the From address and the domain behind it), the sender authentication records published for that domain, the quality of the address list, and how failed deliveries are handled afterward. A campaign sent from a domain with weak authentication, to a list full of stale addresses, with bounces ignored, can trigger filtering even when the SMTP account works perfectly. Notification mail from the same domain shares that reputation, so a problem in campaigns can also delay password resets or assignment alerts.

Treat the DNS and sender authentication settings for the sending domain as facts to obtain from your mail provider, not values to copy from a guide or an older configuration. Ask the provider which records it expects for the domain you send from, whether the same domain is used for user mail, notifications and campaigns, and whether separate sending subdomains or dedicated IP addresses are in use. Confirm this before go-live, and repeat the check after any change to the mail provider, the sending domain or the From address configured in SuiteCRM. The same question applies to OAuth-based outbound accounts, because the consent and sending permissions granted to the provider determine which identity SuiteCRM can use.

Two later steps keep reputation steady. Failed campaign deliveries need to be processed, or invalid addresses stay on lists and keep generating bounces, so set up the handling described in the SuiteCRM bounce handling for campaign email topic. Campaign volume also needs to be paced, so review the SuiteCRM 8 campaign email queue and sending topic before the first real send. Finish with a test to a small set of seed mailboxes you control, checking placement and headers, and record the results so the next change can be compared against them.

Testing outbound email before go-live

Test the full outbound configuration on a staging instance that mirrors production settings, including the SMTP host or OAuth-based outbound account, sender addresses and the scheduler. Use test mailboxes you control so nothing reaches real customers. The goal is to confirm the configuration works end to end before any user depends on it.

  • Message headers: Inspect the raw headers of each test message for the envelope sender, the authenticated sending domain, and DKIM and SPF results as your mail provider reports them.
  • Sender name and address: Confirm the displayed name and from address match the approved values for users, notifications and campaigns.
  • Reply-to handling: Send from a personal account and a group account, reply to each, and confirm the reply reaches the intended mailbox and is not lost.
  • Scheduler activity: Run the relevant scheduled jobs manually and confirm they complete without errors and pick up queued messages.
  • Log entries: Review suitecrm.log after each test for authentication, connection or sending errors, and record any that appear.

Repeat these checks after every configuration change, not only at first install.

Security and operational risks of outbound credentials

Outbound email gives SuiteCRM a credential that can send mail as your organization, so every choice here carries security weight. The cards below cover where secrets live, who can use them, what gets logged and how changes travel through your hosting team's process.

Credential storage and rotation

Each SMTP password or OAuth client secret is a standing credential that can send mail as your organization. Confirm where SuiteCRM stores it, who can read or replace it in the admin screens and the database, and which secret store or vault your hosting team uses for it. Write down a rotation schedule for both SMTP passwords and OAuth client secrets, and test that a rotation does not break queued campaign or notification sends.

Least-privilege mailbox permissions

Ask the mail provider for the narrowest permission that still allows sending, such as a send-only SMTP identity or an OAuth scope limited to sending mail. Avoid granting full mailbox read access to an account that only needs to send notifications. Confirm with the provider whether the permission can be restricted to specific sender addresses, and record that decision with the account.

Who can use shared outbound accounts

A shared outbound account lets any user who can select it send mail under that identity, so access to the account is a sending right, not a view right. Map which SuiteCRM roles and groups can choose each outbound account, and confirm that personal accounts are not offered to other users. Review this list when people change roles or leave.

Logging send failures

Failed sends can hide authentication problems, expired OAuth tokens or blocked relays until a campaign or notification is missed. Decide where send errors are recorded, who reads those records, and how long they are kept. Confirm that the log does not capture passwords or tokens in plain text, and that the team knows which log file and scheduler checks to review first.

Aligning with the hosting change process

Outbound settings depend on DNS records, firewall rules, relay allow lists and the worker that sends queued mail. Changes made in the SuiteCRM admin screens without a matching change ticket can break sending or open new paths. Agree with the hosting team which changes need review, who approves secret rotation, and how a rollback of outbound settings is recorded.

Testing before go-live

Before any outbound account goes live, send test messages from each account to internal and external mailboxes, and confirm that the rotation and revocation steps work on a staging instance. Check that a revoked credential stops sending, that the failure appears in your logs and that alerts reach the people who own the account.

Questions buyers ask about SuiteCRM outbound email

What drives the effort of setting up SuiteCRM outbound email?

The effort depends on how many sending identities you need and how they authenticate. A single shared sender for notifications is a small task, while per-user sending, campaign mail and multiple domains add configuration, testing and support work. The main drivers are the number of mailboxes or accounts that will send, whether you use SMTP credentials or OAuth-based outbound accounts, how well your DNS records for sending domains are already set up, and how many workflows, notifications and campaigns depend on mail leaving the system. Ask any partner for a quote that lists each sending identity, the authentication method for each one, the test cases and who provides the mail and DNS changes.

Can our own team configure SMTP for SuiteCRM without outside help?

Yes, a capable admin team can usually configure a basic SMTP account for system notifications, provided they have the SMTP host, port, encryption setting and a sending account from the mail team. The harder part is what surrounds the setting: confirming that the sending domain passes the checks your mail provider expects, testing delivery to real addresses, and making sure the scheduler that sends queued mail is running. Teams with no mail administration experience often benefit from a short review of the configuration before go-live. Check the SuiteCRM admin documentation for your exact version, since the settings screens and their options can change between minor releases.

When is OAuth for outbound email worth the extra work?

OAuth is worth the extra work when your mail provider is retiring or restricting basic password authentication, or when your security team does not want long-lived mailbox passwords stored in the CRM. SuiteCRM 8.8.1 added OAuth-based outbound accounts, so this option is available in that release and later ones that include it. OAuth adds steps: an application registration with your identity or mail provider, consent for the sending account, token refresh handling and a clear owner for the app's lifecycle. For a small set of notification senders, SMTP with a dedicated, tightly scoped account may be simpler. Confirm with your mail and identity teams which authentication methods your provider still accepts for the accounts you plan to use.

What do we need from our mail and identity teams before the work starts?

You need named owners and written decisions from both teams before configuration begins. The mail team should supply the sending domains, the SMTP host and port or the OAuth-capable provider details, the sending mailboxes, rate limits and the DNS records that authorize SuiteCRM to send for your domain. The identity team should confirm how OAuth applications are registered, who approves them, where client secrets are stored and how consent is granted. Both teams should agree on a test mailbox, a process for changing credentials and who receives alerts when sending fails. Without these inputs, testing tends to stall on access requests rather than on the CRM itself.

How long does testing outbound email usually take?

Testing time depends on scope, and no fixed duration applies to every environment. A single SMTP account used for notifications can be tested in a short cycle, while per-user OAuth accounts, campaign sending and multiple domains need more rounds because each sender, inbox provider and failure case must be checked. Plan tests for successful delivery, authentication failure, token expiry or refresh, messages that land in spam folders, bounce behavior and the scheduler jobs that send queued mail. Ask for the test plan in the quote, including how many sending identities are covered, which mail providers are included and who signs off the results before go-live.

How do we keep deliverability good after go-live?

Deliverability depends on the sending domain's authentication records, the quality of the recipient lists and steady, expected sending volume. Your mail team should maintain the SPF, DKIM and DMARC records for the domain and watch their reports. In SuiteCRM, keep the bounce handling mailbox and related schedulers working so invalid addresses are removed from lists, and avoid sending large campaigns from a sender that has not been warmed up. Review sending logs after each change to credentials, domains or SuiteCRM upgrades. Confirm with your mail provider which reputation and feedback tools they offer for your account.

Does DeployOpen handle the mail provider side of this work?

DeployOpen configures SuiteCRM outbound accounts inside your own infrastructure and tests them against the mailboxes and providers you approve. Work on the mail provider side, such as creating sending mailboxes, editing DNS records or changing tenant settings, is done by your mail or DNS owners unless the written scope says otherwise. The written scope should name each system DeployOpen touches, the access it needs and the deliverables, such as a configuration record, a test report and an operations note for your team. Fees and timelines follow from that agreed scope and are quoted in writing.

How outbound mail flows from SuiteCRM to recipients

The path starts with a user action, a notification or the campaign scheduler inside SuiteCRM, then passes to the outbound account, which is either an SMTP account with a password or an OAuth-based outbound account. The mail provider and the identity provider sit in separate trust zones, so each hand-off needs its own owner. Check which account a message uses, where the credential is stored, and who can read the send logs before go-live. The sending path is what you test, not just the mailbox settings.

Outbound mail from user actions and campaigns through SMTP or OAuth to recipients.

How DeployOpen scopes and delivers SuiteCRM outbound email

DeployOpen plans, implements, tests and documents SuiteCRM outbound email inside your own infrastructure, choosing between SMTP accounts and OAuth-based outbound accounts for users, notifications and campaigns. Engagements start from a written scope that names the sending domains, mail providers and senders involved, so your security and messaging teams can review the design before anything is configured.

How we scope

  • Inventory which users, notifications and campaigns will send mail, and which sending identities each one needs
  • Compare SMTP accounts with OAuth-based outbound accounts against your mail provider's sign-in and app policies
  • Record the written scope, deliverables and timeline before configuration begins, as most engagements are fixed-scope

How we build

  • Configure outbound accounts on a staging SuiteCRM 8 instance first, using credentials stored outside the application code
  • Set sender domain authentication, reply addresses and bounce handling in line with your mail team's standards
  • Test each sending path, including user mail, scheduled notifications and a small campaign sent to internal test addresses

How we hand over

  • Document each outbound account, its owner, its permissions, its credential rotation steps and its failure modes
  • Provide a go-live checklist covering test results, rollback steps and the scheduler jobs that must be running
  • Walk your administrators through the configuration so they can review changes and repeat the tests themselves

How we support

  • Review outbound settings after each SuiteCRM 8 minor or patch release, because release notes can change mail behavior
  • Retest sending paths after provider policy changes, such as changes to sign-in or app password requirements
  • Offer ongoing support, upgrades and continuous testing as a retainer, with scope agreed in writing

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.