Reasons for rebuild flarum
My server is broken, but I made a backup to prevent it.
What measures have I taken?
- I backed up the flarum website root file and database file.
- Copy the file back to the root directory and give 777 permission
- Restore the copied database in Mysql
- Configure nginx, domain name, SSL, etc.
After I took these measures, all the services of flarum were restored except for sending undeliverable mail.
Error scenario description
When sending email,console will show:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
POST https://xxx.xxx.xx/api/users/8/send-confirmation 500 (Internal Server Error)
Request address response:{"errors":[{"code":500,"title":"Internal server error"}]}
I am sure that the STMP service is configured correctly.Because the falrum database's setting table has the correct configuration record before, and I have not changed the settings of the mail service provider.
I don't know which step I went wrong, which made it impossible to send mail. Can you help me solve this problem? What else can I do?