Unable to send mail via SMTP, HTTP error code 500.
0
329
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

1 participant


Unable to send mail via SMTP, HTTP error code 500.
Unable to send mail via SMTP, HTTP error code 500.

help me!

sorry my english

i cant not use smtp sent email

nginx error logs:



.jpg
  Snipaste-2023-04-16-00-04-38.jpg (Size: 340.12 KB / Downloads: 12)

browser error:



.jpg
  1.jpg (Size: 38.28 KB / Downloads: 13)



But I can't see any error log in the ACP panel :



.jpg
  Snipaste_2023-04-16_00-13-30.jpg (Size: 295.04 KB / Downloads: 10)


I have tried several SMTP servers including QQ SMTP, NetEase SMTP, Gmail SMTP, AlibabaCloud SMTP, and Tencent Cloud SMTP, but none of them worked and all resulted in HTTP 500 error code.

Is it because there is an issue with my Linux server environment?

Every time I try to send an email, the browser lags for a while, shows a loading icon, and then returns a 500 error code.

In advance, I migrated my MyBB forum to another server, could it be because there were issues during the migration process?

nginx error logs
2023/04/15 11:21:56 [error] 281297#281297: *363 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: stream_set_timeout(): Argument #1 ($stream) must be of type resource, bool given in /var/www/mybb/inc/mailhandlers/smtp.php:281
Stack trace:
#0 /var/www/mybb/inc/mailhandlers/smtp.php(281): stream_set_timeout()
#1 /var/www/mybb/inc/mailhandlers/smtp.php(199): SmtpMail->connect()
#2 /var/www/mybb/inc/functions.php(677): SmtpMail->send()
#3 /var/www/mybb/member.php(1427): my_mail()
#4 {main}
  thrown in /var/www/mybb/inc/mailhandlers/smtp.php on line 281" while reading response header from upstream, client: 172.18.0.2, server: sabbs.net, request: "POST /member.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "sabbs.net", referrer: "https://sabbs.net/member.php?action=resendactivation"

oh i get it the smtp server error code
:
The mail server does not understand the MAIL FROM command. Reason: 502 Invalid paramenters

because i no set Admin Email

The problem is solved

thk U all


https://community.mybb.com/thread-238086.html

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.

Forum Jump:


Users browsing this thread:
1 Guest(s)