# Microsoft 365

Use this page if your email is hosted in Microsoft 365 or Exchange Online.

## Create Or Confirm Senders

* `team@<generalEmailDomain>`
* `noreply@<generalEmailDomain>`
* `auth@<generalEmailDomain>`

If an address is an alias, confirm the mailbox can send as that alias.

## Choose A Sending Method

Tell us which option your organization supports:

* SMTP with SMTP AUTH enabled.
* App password, if allowed by your policy.
* OAuth.

Typical Microsoft 365 SMTP settings:

| Field  | Value                |
| ------ | -------------------- |
| Host   | `smtp.office365.com` |
| Port   | `587`                |
| Secure | `false`              |

Port `587` uses STARTTLS.

## Add Provider Records

Add the SPF, DKIM, and DMARC records Microsoft 365 gives you.

Common SPF pattern:

```
v=spf1 include:spf.protection.outlook.com -all
```

Use your actual Microsoft 365 value, especially if your domain sends from other services too.

## Send Us

* Which sender addresses are mailboxes vs aliases.
* Whether SMTP AUTH is enabled, if you are using SMTP.
* Whether you are using SMTP login, app password, or OAuth.
* Confirmation that SPF, DKIM, and DMARC were added.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.anwhitelist.com/email-microsoft-365.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
