RealJabberwocky Posted April 8 Share Posted April 8 Last year Microsoft decided to move away from generic SMTP authentication and start demanding the use of OAuth2. WHMCS works great with the OAuth on the commercial O365 cloud, creating an enterprise app, app registration, and getting a token from the O365 cloud (office365.com cloud). However, we need to use a different O365 cloud (office365.us cloud) and WHMCS doesn't seem to have the ability to send emails from the billing system using OAuth2 and anything but the standard commercial O365 cloud. Is there anyone out there that has successfully gotten WHMCS to use a custom cloud for emails? Somewhere buried deep within the PHP code to force WHMCS to authenticate with a different cloud? The only other option we have to move away from WHMCS or come up with a kludge to send emails to a commercial cloud tenant, forward them to the .us cloud tenant, and THEN forward those emails to the customers...all while looking as if they emails came from the .us tenant. I've got a partial kludge working with mail rules where the commercial cloud forwards to the .us cloud and changes the mail header "Reply-To" but the message are then being flagged as spam because the sender and reply-to do not match. Any thoughts? Ideas? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted Wednesday at 07:19 PM WHMCS Support Manager Share Posted Wednesday at 07:19 PM Hi @RealJabberwocky, The Microsoft Mail endpoint isn't currently something that is customisable. I see that a feature request for this was recently submitted, so we'll be monitoring that for traction in future: https://developers.whmcs.com/mail-providers/ In the immediate term, you could create a new Mail Provider module using the .us endpoint to use in place of the stock one: https://developers.whmcs.com/mail-providers/getting-started/ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.