Outlook account with email connector

0
Hi Guys,   I’m using my outlook account with email connector to send email from my app. I’m getting below error while configuring the email connector. Please help to resolve this error. Thanks in advance.    
asked
3 answers
1

Hi Abrar,

 

Have you configured any mail templates?

 

if so, Template From mail address and your configuration from address and username should be same

answered
1

Hi Thomas,

 

From the settings visible in your screenshot, it is correct https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4ac95353

 

I bet a firewall rule is preventing you to connect from the Mendix server to the SMTP Server. If you run the app locally, it could be the corporate firewall. I would suggest “just to publish” it like this and see if from the Mendix Cloud you do get access.

 

Go Make IT.

 

 

answered
0

I ran into the same problem.

The solution is to disable the default security measures, that do not allow the connection to the SMTP server using outdated methods.

In the Azure portal

https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/Properties

The default security measures have been disabled to enable sending e-mail via Mendix:

https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults

I do not recommend to disable this because you will have to manually enable the ones you want to keep (like enforcing 2FA for Admins).

 

You also have to enable the sending via authorized SMTP in the account you want to use:

https://admin.microsoft.com/Adminportal

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission

 

I think a build-in SMTP server in every Mendix environment that will send using the url name (namexx@mendixcloud.com) would be a great addition. You should be able to change it to your own smtp server. But for Microsoft this requires complex configuring in account settings that are not available for users in bigger companies.

 

answered