Can not save the 'Enable SMTP over SSL or TLS' field in the email setting interface

Hi guys!

I am trying to set up my email on suitecrm 7.13.4.
But each time when I chose the “TLS” and clicked the “save” button in the email setting interface the “Enable SMTP over SSL or TLS” drop down list became “none”.
As a result, I could not save the “TLS” to the “Enable SMTP over SSL or TLS” field.

I tried to write the “TLS” option into the database directly, However, I don’t know where to write it and write which value to it(1 or 2?).

How to resolve it?

Hi @GeorgeLyu

This issue sometimes happens on 7.13.x — it’s usually related to how SuiteCRM validates SMTP encryption settings.
Try these steps:

  1. In Admin → Email Settings, re-enter your SMTP details.
  2. Select TLS, then make sure the SMTP port matches it (usually 587).
  3. Save — if it still resets to “none”, clear browser cache and try again.
  4. If it keeps happening, open config.php and check that the smtpport and smtpsecure values are saved correctly (you can manually set 'smtpsecure' => 'tls').

After saving, run a Quick Repair & Rebuild.

Hope this helps you get it working! :blush:

1 Like

I have change the match condition “===” to “==” and it is working for me.

file: include/utils.php
function: get_select_options_with_id_separate_key

$selected_key === $option_key does not working
change to
$selected_key == $option_key - is working

1 Like