Sage 100 SMTP Server Address for Office 365
The Office 365 SMTP address is too long for Sage 100's 50-character field? Use smtp.office365.com on port 587 with TLS — the full Paperless Office e-mail setup.
You are setting up Paperless Office e-mailing through Office 365, and the server address you have been given is 53 characters long. Sage 100's address field stops at 50. Your first instinct — find where the configuration is stored and type the full address in directly — is understandable, and it will not work: the 50-character limit is the program's field length, not just the screen's. The good news is that you do not need the long address at all. It is the wrong endpoint for what Sage 100 is doing.
The fix
Use the short generic Office 365 endpoint for authenticated SMTP submission:
- Open Library Master > Main > Company Maintenance and select the company you are configuring e-mail for.
- Go to the E-mail tab.
- Address:
smtp.office365.com— 18 characters, comfortably inside the field. - Port: 587.
- SMTP Encryption: TLS/StartTLS.
- User ID: the full e-mail address of the mailbox Sage will send as. Password: that mailbox's password, and select the 128-bit Encryption check box.
- Click Test Email to verify, then click OK to save. Office 365 may ask you to verify the e-mail address after the first test — complete that prompt, or the test result will mislead you.
That is the configuration published in Sage's own knowledgebase for Office 365 with Paperless Office (KB 39132). One historical wrinkle, so an old printout does not confuse you: the 2016 version of that article listed the address as outlook.office365.com with a note that it was formerly smtp.office365.com. Sage's current configuration guidance and Microsoft's own SMTP documentation both use smtp.office365.com — use that.
Causes / why this happens
There are two different Office 365 endpoints, and only one of them belongs here. The long address — the one in the form of your-domain.mail.protection.outlook.com, which is where a 53-character address comes from — is your tenant's MX endpoint. Microsoft uses it for Direct Send (unauthenticated, internal recipients only) and for SMTP relay through an Exchange connector, on port 25. Sage 100's Company Maintenance setup does something else: authenticated SMTP client submission, where Sage signs in as a mailbox and sends as that mailbox, to anyone. That service lives at the single global address smtp.office365.com, the same for every tenant — which is precisely why it is short. If you are copying an address out of your domain's MX record into Sage, you have the relay endpoint in an authentication form, and the length error is the first symptom of that mismatch, not the real problem.
Per-context variants
Test fails with "535 5.7.3 Authentication unsuccessful": Sage's KB for this exact error (KB 70756) gives two conditions for the sending account: it must be set up in Office 365 as an Administrator, and the password on the E-mail tab must be the account's correct password — verify it by signing in to the Office 365 web portal before re-typing it into Sage. In the documented discussion, a Sage 100 Advanced site hit this rejection with credentials that worked on the website; if the KB conditions are met and Advanced still refuses, the remaining documented route is to relay instead — send through an Exchange connector or a relay service rather than direct authenticated submission.
Modern versions — use OAuth, not a password: Microsoft has been retiring basic (password) authentication for SMTP. On Sage 100 2021.4 / 2022.1 or higher, Sage's supported route is OAuth with a Microsoft 365 app registration: same address (smtp.office365.com), same port (587), same TLS — plus the app registration's Client ID, Auth endpoint and Token endpoint, the scope https://outlook.office.com/SMTP.Send offline_access, redirect URL https://localhost, and code challenge method S256 (Microsoft 365 does not require a Client Secret here). The sending mailbox must also have Authenticated SMTP enabled in the Microsoft 365 admin center. If you are on an older Sage 100 version, the password setup above is what you have — and an upgrade is the real fix when Microsoft's basic-auth cut-off reaches your tenant.
Sending as a different address: after changing the mail provider or the User ID, check the "From" addresses in Paperless Office > Setup > Form Maintenance — they must be valid addresses/aliases for the account you now authenticate as, or delivery will fail even with a passing test e-mail.
What doesn't work
- Typing the long tenant address anywhere — the field holds 50 characters in the data, not just on screen, so direct editing of the stored configuration gains you nothing.
- Substituting the endpoint's IP address. It fits, and it is a trap: Microsoft rotates those IPs (the original poster rejected this for exactly that reason), and an IP also breaks the host-name expectations behind TLS.
- The MX endpoint with a password. mail.protection.outlook.com does not accept mailbox-password submission; that path is unauthenticated by design and restricted accordingly. Length aside, it would never have authenticated.
Affected versions
The 50-character field and the password-based settings (Sage KB 39132, January 2016) apply to the Sage 100 versions of that era and remain the setup on any pre-OAuth release. The OAuth configuration is available only on Sage 100 2021.4 / 2022.1 and higher — do not go looking for its fields on an older install.
Prevention / best practice
- Record which sending method each system uses — authenticated submission (smtp.office365.com), Direct Send, or connector relay — in your IT documentation. Half of all "Office 365 SMTP" confusion, including this one, is two methods being configured as if they were one.
- Use a dedicated sending mailbox for Sage rather than a person's account: password changes, staff departures, and MFA enrolments on personal accounts are the recurring causes of sudden Paperless e-mail failures.
- Re-run Test Email after any Office 365 password, licence, or admin-center change — and after any Sage upgrade that touches Company Maintenance — so a broken setting is found by you, not by a customer waiting for an invoice.
Related help
- Gmail SMTP Authentication Changes (OAuth)
- Emailing Invoices from Sage 100
- Unable to Process the Lockfile: Crystal Reports
- Sage 100 PDF Converter Unspecified Error
- Paperless Office Journal/Register Directory Invalid or Not Accessible
Still stuck? Send us a screenshot of the error, we will diagnose it for free.
Digit Masters has supported Sage 100 and Sage 300 since 1997. Send the screenshot through our contact page or to contact@digitmasters.com, or call (800) 965-4262.