# Mail provider Setup

In the 'Mail Provider' tab in the Mailscheduler configuration, you can configure how you would like to send emails, either with SMTP or with Microsoft Graph, and change the relevant settings.

#### SMTP

<figure><img src="https://1937398298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEnvavVjEKojggGVc69T%2Fuploads%2FvJ3pM9nddr1qn4Bzkv1R%2Fimage.png?alt=media&#x26;token=29e8cb98-969d-42fd-a30b-8d08084e8e3a" alt=""><figcaption></figcaption></figure>

Here, you can enter your SMTP configuration, and test it by sending a test email by pressing the 'Validate credentials'.

#### Microsoft Graph

<figure><img src="https://1937398298-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEnvavVjEKojggGVc69T%2Fuploads%2FTaOAigsRSU3HHb6DUiKu%2Fimage.png?alt=media&#x26;token=821aa6eb-647c-4b5c-a9f7-1254524519f9" alt=""><figcaption></figcaption></figure>

To send Emails using Microsoft Graph, please follow the [sending-emails-using-the-microsoft-graph-api](https://docs.infotopics.com/mailscheduler/configuration/sending-emails-using-the-microsoft-graph-api "mention") guide. Here, you can set your Global "From" address. Please make sure that it matches the email used to log in with Microsoft Graph. The name can be whatever you like.
