SMTP error occurred when attempting to add mail server

I am trying to add my mail server settings into SuiteCRM but when i go to test the server i am getting the error
An email error occurred:SMTP connect() failed.
This is a fresh install of SuiteCRM through univention. I heard that the error maybe related to disabling the force tls feature but i am not sure where to go to change that, any help would be great.

Check the logs for more information on the error

What version of SuiteCRM?
Does your provider allows SMTP Relay?
Does provider needs to enable third party access to IMAP/SMTP?

Thanks,

AlxGr

I am not sure where to check for logs as i am using the univention version and the way it sorts the files in the debian filesystem is different, if you possibly know the path then i can check. Also my provider does allow SMTP relay and does not need any other third party access enabled.

You can do it from the front end. Go to: Admin>System Settings ->scroll to the bottom and click on View Log…

…or modify this URL to see eh logs:
YouDomain/index.php?module=Configurator&action=LogView

Thanks,

AlxGr

This is what i see in the logs. Thu Jan 16 20:07:42 2020 [4306][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account. Thu Jan 16 20:07:42 2020 [4306][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Thu Jan 16 20:07:42 2020 [4306][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

These are the current mail settings saved.

I see some few sues: email as the user name

  1. Try to use a real email on From (use same you have on username)
  2. SMTP server names tend to start with smtp.mydomain.com

In general use the same configuration as if you are setting up Outlook or other email client

Thanks,

AlxGr

After i added the from email i see this additional error.

Thu Jan 16 23:41:07 2020 [4305][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] log call at: modules/EmailMan/tpls/config.tpl:457 - styleChecked is not set Thu Jan 16 23:41:30 2020 [206][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] log call at: modules/EmailMan/tpls/config.tpl:457 - styleChecked is not set Thu Jan 16 23:41:47 2020 [203][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account. Thu Jan 16 23:41:47 2020 [203][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Thu Jan 16 23:41:47 2020 [203][d40a53dd-1628-7957-50f5-5e1e8704af1c][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting