config(mail): fix SERVER_NAME; closes #4600

This commit is contained in:
Matthew Penner 2022-12-12 14:26:07 -07:00
parent 63a179d7f3
commit c14fc1ccb0
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -41,4 +41,4 @@ MAIL_FROM_NAME="Pterodactyl Panel"
# mail servers such as Gmail to reject your mail.
#
# @see: https://github.com/pterodactyl/panel/pull/3110
# SERVER_NAME=panel.example.com
# MAIL_EHLO_DOMAIN=panel.example.com

View file

@ -41,7 +41,7 @@ return [
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
'local_domain' => env('MAIL_EHLO_DOMAIN', env('SERVER_NAME')),
],
'ses' => [