Fork me on GitHub
Subscribe 3

Ticket #1101 (fixed enhancement)

SMTP Password field on admin_options page too short

  • Created: 2017-02-28 05:30:40
  • Reported by: jasonrohrer
  • Assigned to: Franz
  • Milestone: 1.5.11
  • Component: email
  • Priority: normal

When trying to use the SendGrid service to send forum emails, they want the SMTP password to be set to a rather long API key.  I think it's 70 or so characters long.

The current field on the admin_options page has maxlength=50, making it impossible to enter the required API key.  I was able to modify the php to push the limit up to 500.

No reason it should be stuck down at 50, so might as well fix this in the main source tree.

I'm calling this a bug because it prevents people from integrating with some SMTP servers (like SendGrid).


Studio384 2017-03-07 15:28:06

  • Milestone set to 1.5.11.
  • Type changed from bug to enhancement.

Since this is by-design, it isn't really a bug, something that should be fixed nontheless.

Franz 2018-01-13 09:15:51

  • Owner set to Franz.
  • Status changed from open to fixed.

Commit 024551c to fluxbb master

Remove maxlength for SMTP settings

For the username, this caused issues with certain mail providers (such
as SendGrid), which have usernames (or API keys) with more than 50
characters. For the password, there is no good reason to limit length.

Fixes #1101.