SuiteCRM 7.12 SMTP Email setting errors

Hi everyone,

I am new here and just got the installation completed. However I cannot set the SMTP email.

I am using the settings that is working on my other scripts. Which is my smtp server with no ssl or tls and with port 25.

The credentials are correct but the log says

"Wed May 4 10:46:16 2022 [374253][1][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.
Wed May 4 10:46:16 2022 [374253][1][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. Troubleshooting Ā· PHPMailer/PHPMailer Wiki Ā· GitHub
Wed May 4 10:46:16 2022 [374253][1][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. Troubleshooting Ā· PHPMailer/PHPMailer Wiki Ā· GitHub
Wed May 4 10:46:16 2022 [374254][-none-][FATAL] Mysqli_query failed.
Wed May 4 10:46:16 2022 [374254][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = ā€˜1ā€™ AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
Wed May 4 10:46:16 2022 [374257][-none-][FATAL] Mysqli_query failed.
Wed May 4 10:46:16 2022 [374257][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = ā€˜1ā€™ AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
Wed May 4 10:46:16 2022 [374527][-none-][FATAL] Mysqli_query failed.
Wed May 4 10:46:16 2022 [374527][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = ā€˜1ā€™ AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
Wed May 4 10:46:16 2022 [374534][-none-][FATAL] Mysqli_query failed.
Wed May 4 10:46:16 2022 [374534][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = ā€˜1ā€™ AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
Wed May 4 10:46:16 2022 [374537][-none-][FATAL] Mysqli_query failed.
Wed May 4 10:46:16 2022 [374537][-none-][FATAL] Retrieving record by id users:1 found Query Failed: SELECT users.* FROM users WHERE users.id = ā€˜1ā€™ AND users.deleted=0 LIMIT 0,1: MySQL error 2006: MySQL server has gone away
"

Can you please help me to fix this? Any direction pointing would be great! Thanks inadvance.

Hi @bulentunat
I think you are using the wrong SMTP port number. (Using 993, 587) A Beginner's Guide to IMAP and SMTP Server Settings.
Please look at this guide. It may help you Simple Steps to Configure Inbound Email Settings in SuiteCRM

Hey @vijay1992 Thanks for answering :slight_smile:
I honestly cant imagine that being the problem. As I said, I have been using these settings for my other scripts too.

Namely Perfex and Mailwizz scripts. Here are the settings;

SMTP Server : mail.domain.name
Username : email@domain.name
SMTP port : 25
Enable SMTP over SSL or TLS? : none

Is there anyway to get a log with a better description of the problem in suitecrm ?

Screen Shot 2022-05-04 at 15.01.20

I got it working on the smtp emailā€™s server with the exact same settingsā€¦ I still dont know the reason why it did not accept or able to connect to my smtp from my other server.

My other scripts are also on this server so i can only think maybe my postfix configs are ancient :smiley:

1 Like

ā€œundefinedā€ is a sure signal of ownership/permissions problems. You probably have more of those all over the app, right? You really need to fix that before continuingā€¦

1 Like

Yes, you are right! And right I fixed this email issue, ifixed that too. Thanks for pointing out. I am still puzzled with the email issue thoā€¦ I really would like to get this script working on my other server which i dont ahve to move around for a long time. But lets see.