Port 2525 formatting issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abkiwi
    Junior Member
    • Feb 2024
    • 3

    #1

    Port 2525 formatting issue

    Bug Report: SMTP Port Field auto-formats 2525 as 2,525

    I’ve come across an issue in EspoCRM 9.1.8 when configuring outbound SMTP.

    When entering port 2525 (a common port used by many SMTP providers, e.g. Maileroo, SendGrid, Mailgun), the form automatically formats it with a comma:
    2525 → 2,525
    This causes EspoCRM to save an invalid value for the port, and the SMTP connection fails.

    Steps to Reproduce:
    1. Go to Administration → Email Accounts → Outbound SMTP.
    2. Enter SMTP port as 2525.
    3. Save.
    4. Field changes to 2,525.

    Expected Result:
    • Port should remain as 2525 (plain integer).

    Actual Result:
    • Field converts it to 2,525, which is invalid.

    Impact:
    • SMTP accounts using port 2525 cannot be configured unless the database is edited manually.

    Could this field be updated to properly handle port 2525 without auto-formatting?
    I believe this may be due to number localization/formatting rules in the form component.

    Thanks,
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9318

    #2
    > This causes EspoCRM to save an invalid value for the port, and the SMTP connection fails.
    > SMTP accounts using port 2525 cannot be configured unless the database is edited manually.

    I don't think these are true.



    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • yuri
      yuri commented
      Editing a comment
      This only has effect on how it's displayed in the UI. It does not have effect on how it's stored.
Working...