Port number on the email connector

0
Good Afternoon,I am trying to find the port number used for emails and struggling.I have a couple of apps where the page looks like this, and unsure where to find port number was used. Any ideas, I presume it must have been set up when it was originally set up?ThanksJess
asked
2 answers
0

Jessica,

Have you clicked the blue gear in your screenshot? I think you'll find the port number when you open the page behind that gear.

Hope that helps,

Mike

answered
0

Hi Jess,

The SMTP port is usually configured in the email/SMTP configuration rather than being something automatically determined by Mendix.

If you're using the Mendix Email Connector, you can check:

App → Email Connector → Account/Email Settings → Send Email → SMTP

There you should find:

  • Server Host – your SMTP server
  • Server Port – the SMTP port being used
  • TLS/SSL – the security setting

If the port isn't obvious from the application, check which email provider/SMTP server is configured (for example, Microsoft 365, Gmail, SendGrid, etc.). The provider's SMTP documentation will tell you the appropriate port.

For example, Mendix recommends using a secure SMTP port such as 587 for external email providers rather than port 25 in Mendix Cloud.

If you're using the newer Send Email action, the Server Host and Server Port can also be configured through constants, so it's worth checking the Constants used by the email configuration as well.

So I would first check the Email Connector/Send Email configuration and then the related constants. The port doesn't necessarily have to be something that was fixed when the app was initially created.

answered