{"id":259554,"date":"2025-07-30T19:33:27","date_gmt":"2025-07-30T15:33:27","guid":{"rendered":"https:\/\/cs-webdesigns.com\/?p=259554"},"modified":"2025-12-29T12:33:23","modified_gmt":"2025-12-29T08:33:23","slug":"set-up-wordpress-smtp-microsoft-365","status":"publish","type":"post","link":"https:\/\/cs-webdesigns.com\/en\/webinsights\/tutorials\/wordpress-smtp-microsoft-365-einrichten\/","title":{"rendered":"Set up SMTP sending in WordPress with Microsoft 365 - with FluentSMTP (free)"},"content":{"rendered":"<h2>Send emails from your WordPress website reliably with SMTP<\/h2>\n<p>With FluentSMTP, you can easily set up SMTP sending via your existing Microsoft 365 account - at no additional cost. This guide takes you through the setup step by step, shows you all the necessary settings in FluentSMTP and the Microsoft Entra Admin Center and explains what you need to pay attention to during authentication. This way, your website emails will reliably end up in your inbox and not in spam.<\/p>\n<h2>5 steps to reliable mail delivery via Microsoft Office 365:<\/h2>\n<p>For the interface between your website and the Microsoft servers, we use the free plugin \"FluentSMTP\", which you need to install as a first step.<\/p>\n<h3>Install FluentSMTP on your WordPress website<\/h3>\n<p>Install the \"FluentSMTP\" plugin from the WordPress repository and navigate to the settings (Settings - FluentSMTP - Settings).<\/p>\n<p>Click on \"+ Add Another Connection\" to set up a new SMTP connection.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259634\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-installieren-.jpg\" alt=\"FluentSMTP installieren\" width=\"752\" height=\"126\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-installieren-.jpg 752w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-installieren--480x80.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 752px, 100vw\" \/><\/p>\n<p>Select Microsoft there:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259637\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Microsoft-Office-365-hinzufuegen.jpg\" alt=\"Add FluentSMTP to Microsoft Office 365\" width=\"752\" height=\"280\" \/><\/p>\n<p>In the next window you have to enter your e-mail address, sender name and find the necessary App Callback URL, which you need for the configuration in Microsoft Office 365.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259636\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Microsoft-Office-365-Einstellungen.jpg\" alt=\"FluentSMTP Microsoft Office 365 settings\" width=\"750\" height=\"707\" \/><\/p>\n<p>Leave this window open and open the <a href=\"https:\/\/entra.microsoft.com\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Microsoft Entra admin center<\/a> In the following you have to log in with your Microsoft O365 admin account.<\/p>\n<h3>Register app for SMTP delivery in Entra Admin Center<\/h3>\n<p>Navigate to Applications in the Microsoft Entra Admin Center, open \"App Registrations\" and create a new app for sending SMTP via \"New registration\":<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259629\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/App-registrations.jpg\" alt=\"Set up SMTP sending in Microsoft Office 365 - App registrations\" width=\"751\" height=\"520\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/App-registrations.jpg 751w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/App-registrations-480x333.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 751px, 100vw\" \/><\/p>\n<p>For Register an application you need the fallback URL from FluentSMTP.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259630\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Register-an-application.jpg\" alt=\"SMTP-Versand in Microsoft Office 365 einrichten - Register an application\" width=\"750\" height=\"522\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Register-an-application.jpg 750w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Register-an-application-480x334.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 750px, 100vw\" \/><\/p>\n<p><strong>Important:<\/strong><\/p>\n<ul>\n<li>Set up fallback URL in Authentication as a web platform<\/li>\n<li>Create account as multitenant (if not done when creating)<\/li>\n<\/ul>\n<p>The app should now look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259632\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Authentication-in-Microsoft-365.jpg\" alt=\"Set up SMTP sending in Microsoft Office 365 - SMTP Authentication in Microsoft 365\" width=\"750\" height=\"509\" \/><\/p>\n<h3>Create Client Secret Key<\/h3>\n<p>Create a new client secret under Certificates &amp; Secrets:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259633\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Certificates-secrets.jpg\" alt=\"SMTP-Versand in Microsoft Office 365 einrichten - SMTP Certificates &amp; Secrets\" width=\"751\" height=\"384\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Certificates-secrets.jpg 751w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Certificates-secrets-480x245.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 751px, 100vw\" \/><\/p>\n<p><strong>Important<\/strong>: Secret Value is the value we need in FluentSMTP! Unfortunately, FluentSMTP names this somewhat unclear\/misleadingly as \"Application Client Secret\".<\/p>\n<h3>API Permission for O365 Exchange Online<\/h3>\n<p>Assign the app the authorization for O365 Exchange Online with SMTP.SendAsApp in the API Permissions and approve this \"Grant admin consent\":<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259631\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Add-permission.jpg\" alt=\"Set up SMTP sending in Microsoft Office 365 - SMTP Add permission\" width=\"752\" height=\"168\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259641\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Request-API-permissions.jpg\" alt=\"SMTP-Versand in Microsoft Office 365 einrichten - Register an application - Request API permissions\" width=\"749\" height=\"398\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Request-API-permissions.jpg 749w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Request-API-permissions-480x255.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 749px, 100vw\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259640\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Office-365-Exchange-Online.jpg\" alt=\"SMTP-Versand in Microsoft Office 365 einrichten - Register an application - Office 365 Exchange Online\" width=\"517\" height=\"315\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Office-365-Exchange-Online.jpg 517w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/Office-365-Exchange-Online-480x292.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 517px, 100vw\" \/><\/p>\n<p><img alt=\"SMTP Send as App\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259645\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Send-as-App.jpg\" width=\"748\" height=\"108\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Send-as-App.jpg 748w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Send-as-App-480x69.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 748px, 100vw\" \/><\/p>\n<p><img alt=\"Grant admin consent\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259644\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Grand-admin-consent.jpg\" width=\"751\" height=\"162\" \/><\/p>\n<h3>Copy application ID and secret value for FluentSMTP<\/h3>\n<p>To establish the connection between FluentSMTP and the created app in MS Office 365, you need the Application ID and the Secret Value.<\/p>\n<p>You can find the application ID in the app overview:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259642\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Application-ID.jpg\" alt=\"SMTP-Versand in Microsoft Office 365 einrichten - Register an application - SMTP Application ID\" width=\"748\" height=\"286\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Application-ID.jpg 748w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Application-ID-480x184.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 748px, 100vw\" \/><\/p>\n<p>You can find the Secret Value in Certificates &amp; Secrets:<\/p>\n<p><img alt=\"SMTP Client Secret Value\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259643\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Client-Secret-Value.jpg\" width=\"750\" height=\"341\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Client-Secret-Value.jpg 750w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/SMTP-Client-Secret-Value-480x218.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 750px, 100vw\" \/><\/p>\n<p>Now enter the Application ID and the Secret Value in the FluentSMTP settings and click on \"Authenticate with Office 365 &amp; Get Access Token\".<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259655\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/08\/FluentSMTP-MS-Office-365-API-Settings.jpg\" alt=\"FluentSMTP MS Office 365 API Settings\" width=\"751\" height=\"401\" \/><\/p>\n<p>After clicking on \"Authenticate with Office 365 &amp; Get Access Token\", a new Microsoft tab opens where you have to confirm access.<\/p>\n<p>You will then receive the access token, which you must now insert as the last step in FluentSMTP under \"Access Token\" and complete the setup by clicking on \"Save Connection Settings\".<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259635\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Microsoft-Office-365-Access-Token.jpg\" alt=\"FluentSMTP Microsoft Office 365 Access Token\" width=\"591\" height=\"272\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Microsoft-Office-365-Access-Token.jpg 591w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Microsoft-Office-365-Access-Token-480x221.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 591px, 100vw\" \/><\/p>\n<p>After clicking on you should test the SMTP dispatch via the \"Email Test\" tab:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259639\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email.jpg\" alt=\"FluentSMTP Test Email\" width=\"571\" height=\"480\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email.jpg 571w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email-480x404.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 571px, 100vw\" \/><\/p>\n<p>If you have followed all the steps, you should now receive this success message and find an email in your inbox:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-259638\" src=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email-erfolgreich.jpg\" alt=\"FluentSMTP Test Email Successful\" width=\"626\" height=\"352\" srcset=\"https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email-erfolgreich.jpg 626w, https:\/\/cs-webdesigns.com\/wp-content\/uploads\/2025\/07\/FluentSMTP-Test-Email-erfolgreich-480x270.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 626px, 100vw\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>You have now set up SMTP sending via your MS Office 365 email and can be sure that your emails sent from and via your website will not end up in spam and will reach the recipient.<\/p>\n<p>Please note: MS Office 365 is not suitable for marketing purposes (e.g. sending newsletters). For this, you should use marketing tools such as Bravo, Mailchimp etc.<\/p>","protected":false},"excerpt":{"rendered":"<p>Instructions for setting up SMTP sending with Microsoft 365 in a WordPress website - including all relevant settings and typical pitfalls. So that your website emails arrive safely and don't end up in spam.<\/p>","protected":false},"author":1,"featured_media":259628,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"E-Mails zuverl\u00e4ssig mit FluentSMTP und Microsoft Office versenden","_seopress_titles_desc":"Anleitung zur Einrichtung des SMTP-Versands mit Microsoft 365 in einer WordPress-Website \u2013 damit deine Mails sicher ankommen und nicht im Spam landen.","_seopress_robots_index":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","iawp_total_views":945,"footnotes":""},"categories":[333],"tags":[],"class_list":["post-259554","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts\/259554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/comments?post=259554"}],"version-history":[{"count":0,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/posts\/259554\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/media\/259628"}],"wp:attachment":[{"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/media?parent=259554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/categories?post=259554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cs-webdesigns.com\/en\/wp-json\/wp\/v2\/tags?post=259554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}