Small issue with SMTP Settings

delphi package - automated exception handling
Post Reply
evp
Posts: 3
Joined: Wed Jan 26, 2022 9:14 am

Small issue with SMTP Settings

Post by evp »

Hi Mathias,

In Delphi 10.4.2 in the MadExcept settings for the email, i can set the port for the SMTP Server protocol to 587
In Delphi 11 I can't, it keeps returning to Auto.

(Version 5.1.2 of MadExcept)

Kind regards,
Erik.
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Small issue with SMTP Settings

Post by madshi »

The wizard auto detects specific port numbers for specific protocols. E.g. if you use TLS, port 587 is identical to "auto", so if you enter 587 with the dropdown set to TLS, it will be replaced with "auto". Same if you use SSL, then you can't enter port 465. That will be replaced with "auto". Or if you use "---" then port 25 will be replaced with "auto".

This is the madExcept wizard dialog trying to be clever. Maybe it's a bit confusing? However, it has always been this way, and it's the same in all Delphi versions. I've tested that here with Delphi 11 and it behaves as described above.
Post Reply