News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Error Config SMTP

Started by Matias-, February 09, 2023, 05:41:38 PM

Previous topic - Next topic

Matias-

Hi, I am trying to configure the SMTP server in SMF 2.1.3, but when doing so I am getting the following error:

array(15) { [0]=> array(3) { ["file"]=> string(52) "/home/account/public_html/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(52) "/home/account/public_html/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12) "smf_db_error" } [2]=> array(3) { ["file"]=> string(45) "/home/account/public_html/Sources/Errors.php" ["line"]=> int(138) ["function"]=> string(12) "smf_db_query" } [3]=> array(3) { ["file"]=> string(45) "/home/account/public_html/Sources/Errors.php" ["line"]=> int(301) ["function"]=> string(9) "log_error" } [4]=> array(1) { ["function"]=> string(17) "smf_error_handler" } [5]=> array(3) { ["file"]=> string(52) "/home/account/public_html/Sources/Subs-Db-mysql.php" ["line"]=> int(1027) ["function"]=> string(22) "mysqli_stmt_bind_param" } [6]=> array(3) { ["file"]=> string(45) "/home/account/public_html/Sources/Errors.php" ["line"]=> int(129) ["function"]=> string(19) "smf_db_error_insert" } [7]=> array(3) { ["file"]=> string(48) "/home/account/public_html/Sources/Subs-Post.php" ["line"]=> int(1586) ["function"]=> string(9) "log_error" } [8]=> array(3) { ["file"]=> string(48) "/home/account/public_html/Sources/Subs-Post.php" ["line"]=> int(1441) ["function"]=> string(12) "server_parse" } [9]=> array(3) { ["file"]=> string(48) "/home/account/public_html/Sources/Subs-Post.php" ["line"]=> int(762) ["function"]=> string(9) "smtp_mail" } [10]=> array(3) { ["file"]=> string(49) "/home/account/public_html/Sources/ManageMail.php" ["line"]=> int(481) ["function"]=> string(8) "sendmail" } [11]=> array(3) { ["file"]=> string(43) "/home/account/public_html/Sources/Subs.php" ["line"]=> int(6034) ["function"]=> string(12) "TestMailSend" } [12]=> array(3) { ["file"]=> string(49) "/home/account/public_html/Sources/ManageMail.php" ["line"]=> int(62) ["function"]=> string(11) "call_helper" } [13]=> array(3) { ["file"]=> string(44) "/home/account/public_html/Sources/Admin.php" ["line"]=> int(499) ["function"]=> string(10) "ManageMail" } [14]=> array(3) { ["file"]=> string(36) "/home/account/public_html/index.php" ["line"]=> int(191) ["function"]=> string(9) "AdminMain" } } Error loop.
I can not understand. Any ideas?

Kindred

That's not an error, that's a line of code.  What is the actual error?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Matias-

Quote from: Kindred on February 09, 2023, 05:44:13 PMThat's not an error, that's a line of code.  What is the actual error?

The error is that when configuring the SMTP server, it doesn't work. I try to do the email test and it gives me the error that I have attached in the main post.

However, if I leave the default SMF configuration (default PHP), the mail test works perfectly.

I want to use the SMTP server because the emails sometimes do not arrive, or take a long time.

Config SMF: https://prnt.sc/mRCxarUgghFB

Matias-

Fixed: The error was the configuration port, my hosting offered me port 465 SSL, they never told me that there is a free port for NO-SSL, which is 587.

Kindred

I am glad that you were able to get it fixed. For a future reference what you provided in the 1st message IS NOT AN ERROR.

AN error says that something failed, or was undefined,  or something like that.  What you listed is just code... it may have been code,  or an extract that the error refered to, but you never provided the actual error message.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Steve

Also, providing the actual error and solution helps those with the same problem when they search and see this.
My pet rock is not feeling well. I think it's stoned.

Advertisement: