How to send emails via a Microsoft server when using MultiMailer

 
MicrosoftIt is possible to use a Microsoft server for the email delivery when using MultiMailer. If you have a Microsoft account (for example Microsoft 365), you can have MultiMailer to interact with this account and send out emails with your Microsoft account's email address as the sender. A Microsoft server is used for the email delivery.

There is a limit on how many emails you can send out per day in this way. The limit depends on the type of Microsoft account. For smaller email quantities this server solution works great. However, if you want to send out larger quantities of emails, another server is required; e.g. MultiMailer's built-in server.

The tip on this page describes how to set up your Microsoft account and MultiMailer to use a Microsoft server for sending with MultiMailer. The login method works differently than with traditional email servers. A new login method called OAuth2 is used.
 
 
Connecting MultiMailer to a Microsoft server:
 
 
Part 1 - Microsoft
  
  
Before we start changing settings in MultiMailer, we need an ID from Microsoft, a so-called client ID. MultiMailer needs it to identify itself to Microsoft. The following steps describe how to get it. Please note that you need an account with Microsoft, e.g. Microsoft 365, for the steps below to work.

1. Step 1 is to log in to Microsoft Entra ID, which is a service provided by Microsoft. Microsoft Entra ID is a cloud-based solution used to manage authentication and authorization to various Microsoft services.

2. To log in to Microsoft Entra ID, you can open this page: https://entra.microsoft.com

3. After you have logged in, click on App registrations in the narrow column on the left.

App registrations

4. A web page with the title App registrations should now be displayed.

5. We will now register the application "SamLogic MultiMailer" on this web page.

6. Click on the + New registration option at the top left of the page.

7. Enter a name for the application you are going to register, in this case "SamLogic MultiMailer".

8. Select the account type under Supported account types. For example "Signed tenant only".

'Register' button9. Click the Register button.

10. A new web page will be shown. Click the Add a redirect URI link there (located on the right).

11. A new web page will appear again. Click + Add a redirect URI there.

12. Select the Mobile and desktop applications option.

13. Select the "https://login.microsoftonline.com/common/oauth2/nativeclient" option.

14. Click the Configure button.

15. A new web page will appear. But we will not do anything there, we will move on. Now click the App registrations option in the leftmost column.

16. Click the All applications option.

17. A list of all your registered applications/programs will now appear. Including MultiMailer, or possibly only MultiMailer if no other applications/programs are registered.

18. In the table row where your application/program name is displayed, the application's client ID is in the Application (client) ID column.
  
19. Keep this web page open and open MultiMailer if you haven't already. We will now configure MultiMailer and paste this client ID into MultiMailer.
  
  
Part 2 - MultiMailer
  
  
We will now configure MultiMailer to work with the Microsoft account. We will also enter the client ID you received above into MultiMailer. Follow the steps below:
  
1. Open MultiMailer's email account dialog box via the OptionsEmail Account Settings menu item in MultiMailer.

2. Select the Use e-mail server from my ISP or company option in the Choose E-mail Server dialog box that appears:

MultiMailer - Choose E-mail Server

3. Now click on the large Settings button in the dialog box. The E-Mail Account Settings dialog box will now appear:

MultiMailer - E-mail Account Settings (1)

4. Click on the Server list button in this dialog box. The button is located to the right in the upper half part of the dialog box.

5. The E-Mail Server List dialog box will now appear.

6. Select the "Microsoft: outlook.office365.com (port 587)" option in the list (combo box) that is shown in the dialog box.

Email Server List - Microsoft Outlook

7. Click the Select button in the dialog box to confirm your selection and close the dialog box.

8. The E-Mail Account Settings dialog box will appear again. In the E-mail address and E-mail address (login) input fields, enter your Microsoft account's email address.

9. Leave the Reply address field blank.

10. In the Authentication frame, the OAUTH2 option should be selected. If not, select it.

11. In the Client ID input field, enter the client ID that you obtained in Part 1 - Microsoft above. The easiest way to do this is to use the Windows clipboard. Copy the ID on the web page and paste it into MultiMailer (in the Client ID field).

12. The contents of the Email Account Settings dialog box should now look something like this:

MultiMailer - E-mail Account Settings (2, Oauth2)

13. Click now OK to close the dialog box.

14. Click OK again to close the Choose E-mail Server dialog box.
 
 
Now MultiMailer is configured to use a Microsoft server for sending. Below we will test that it works.
 
 
Part 3 - Send a test email
  
  
If you have a mailing list with test email addresses, you can open it in MultiMailer. If not, you can create one. Thereafter you can write a simple test email message in MultiMailer. When you have done that, you can select a test address in your mailing list and choose the menu option Mailing - Start Sending and step through the wizard until you reach this new step in the wizard:

Email Delivery Wizard - Login to Microsoft server

This step is used to log in to your Microsoft account. This is required to be able to send emails via your Microsoft account. Click the Login button to log in.

Please note that it is Microsoft that asks for login details. Not MultiMailer. However, MultiMailer receives temporary one-time login details from Microsoft "under the surface" which MultiMailer uses to access a Microsoft server during the email delivery.

After you have logged in, the last step in the wizard is shown. Click then the Start sending button to start the email delivery. Your emails will be sent via the Microsoft server.
  
  
How are email bounces handled?
 

Email bounces are not handled automatically, as is the case when you use MultiMailer's bulit-in email server or some other servers. Instead, you have to handle them manually. However, this is manageable if the sending volumes are not too large. But if you send to a lot of recipients, it is better to use MultiMailer's bulit-in email server for sending. Then you will get automatic handling of email bounces as a bonus.
    
  
See also  
 
How to send emails via a Google server when using MultiMailer
 
 
 
 
 
< Tips Index Page
   
Go to MultiMailer product page MultiMailer Tip
SamLogic