# Sending Emails using the Microsoft Graph API

To send emails using the Microsoft Graph API, make sure you have a working Microsoft Graph installation, by following the [Connecting to the Microsoft Graph API](/mailscheduler/configuration/connecting-to-the-microsoft-graph-api.md) setup steps.

<figure><img src="/files/n9oS6lMJpQaMVMNjaFct" alt=""><figcaption></figcaption></figure>

Afterwards, you can navigate to the MailScheduler settings, and then click on the Mail Provider tab. Here, you can choose between SMTP and Microsoft Graph.&#x20;

Make sure that the 'Global "From" address' matches the address that is used to log in to the Microsoft Graph API, or you will not be able to send emails!


---

# 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.infotopics.com/mailscheduler/configuration/sending-emails-using-the-microsoft-graph-api.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.
