Bonfire icon indicating copy to clipboard operation
Bonfire copied to clipboard

SMTP Password length

Open andrekutianski opened this issue 9 years ago • 1 comments

The SMTP configuration settings don't accept a password more than 20 characters. Its impossible using Amazon SES or Mandrill Key with this length limitation.

andrekutianski avatar Nov 09 '15 13:11 andrekutianski

If you change this line: https://github.com/ci-bonfire/Bonfire/blob/develop/bonfire/modules/emailer/controllers/Settings.php#L65

$this->form_validation->set_rules('smtp_pass', 'lang:emailer_smtp_password', 'trim|matches_pattern[[A-Za-z0-9!@#\%$^&+=]{2,20}]');

to this:

$this->form_validation->set_rules('smtp_pass', 'lang:emailer_smtp_password', 'trim|matches_pattern[[A-Za-z0-9!@#\%$^&+=]{2,255}]');

does that fix the problem for you, or do you need it to be longer than 255 characters?

mwhitneysdsu avatar Nov 09 '15 17:11 mwhitneysdsu