Jump to content

Is it possible for WHMCS to use a custom O365 endpoint?


Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated