Help with WP Mail SMTP and Outlook Integration Issues

June 14, 2025 3 answers
Asked by CleverKoala57
A client reached out to me about an issue they're having with email deliveries after renewing their WP Mail SMTP license. They're getting an error message that says: "Mailer: Outlookinvalid_client: AADSTS7000222: The provided client secret keys for app 'xxx-xxx' are expired." It directs them to the Azure portal to create new keys, but I'm not quite sure how that relates to an end user like my client. I'm not familiar with this process at all, so I'd appreciate any advice on what steps we need to take next!

Answers

CuriousCoder24
It sounds like your client might have misunderstood what WP Mail SMTP does. It's essentially a tool that helps deliver emails, but they still need to manage API keys with Outlook. If they've paid for WP Mail SMTP, they might have neglected to check their Outlook API key statusโ€”those keys can expire after a while. They'll need to generate a new key in the Azure portal and update it in the plugin. Check out the WP Mail SMTP documentation for a step-by-step guide!
Reply to this answer
EmailGuru53
To fix this issue, reauthorize the WP Mail SMTP connection using new API keys from Azure. Itโ€™s a pretty straightforward process and will get the email functionality back on track!
Reply to this answer
TechyTurtle98
You just need to create new API keys in Azure since the old ones expired. After generating the new keys, make sure to copy them over to your WP Mail SMTP settings. There's a one-click setup option too if your client has a WP Mail SMTP license, which simplifies the whole process!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions