# Mail Send Setting using office365, website hosted on local windows server

**URL:** <https://forum.mautic.org/t/mail-send-setting-using-office365-website-hosted-on-local-windows-server/11743>\
**Category:** Product Support\
**Created:** [November 20, 2019, 5:47pm UTC](https://forum.mautic.org/t/mail-send-setting-using-office365-website-hosted-on-local-windows-server/11743 "2019-11-20T17:47:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mauticuser1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mauticuser1/32/422_2.png) [@mauticuser1](https://forum.mautic.org/u/mauticuser1)\
**Post date:** [November 20, 2019, 10:54pm UTC](https://forum.mautic.org/t/mail-send-setting-using-office365-website-hosted-on-local-windows-server/11743/6 "2019-11-20T22:54:26Z")

</div>

I’m reading another post that says:

> [@Office365 SMTP](https://forum.mautic.org/t/office365-smtp/10663):
>
> Not sure I am posting to the right place. I am trying to setup mautic to send mail via SMTP using Office365. As far as I can tell the settings are correct but I cannot send emails. I get error “Client does not have permissions to send as this sender”. Test Connection Works but email send fails. Anyone has any experience with getting Office365 to work with mautic ? Other SMTP works fine. The settings I have are [smtp.office365.com/587/TLS/SMTP](http://smtp.office365.com/587/TLS/SMTP) mode :login

“Found the solution : instead of smpt.office365,com use the .outlook.com smtp server. Find this in the Office365 console. Use port 25, not 587. set to SSL. this will allos intenral dmaon emails to work. Next setup a connected in Office365 to allow external emails from the webservers IP”

---

_[View the full topic](https://forum.mautic.org/t/mail-send-setting-using-office365-website-hosted-on-local-windows-server/11743)._
