Reason: This function request an SMTP email message to users, but the Snipe-IT system did not show the missing SMTP setting. It just displayed " server 500 error."
How to fix: change /var/www/snipe-it/.env settings( open and edit )
MAIL_DRIVER=smtp
MAIL_HOST=**enter your SMTP IP**
MAIL_PORT=**enter your SMTP port**
MAIL_ENCRYPTION=null
MAIL_FROM_ADDR=**Enter your email address you like**
MAIL_FROM_NAME='**Enter your name you like**'
MAIL_REPLYTO_ADDR=**Enter your email address you like**
MAIL_REPLYTO_NAME='**Enter your name you like**'
MAIL_AUTO_EMBED_METHOD='attachment'