Skip to content

Commit c14fc1c

Browse files
committed
config(mail): fix SERVER_NAME; closes pterodactyl#4600
1 parent 63a179d commit c14fc1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ MAIL_FROM_NAME="Pterodactyl Panel"
4141
# mail servers such as Gmail to reject your mail.
4242
#
4343
# @see: https://github.com/pterodactyl/panel/pull/3110
44-
# SERVER_NAME=panel.example.com
44+
# MAIL_EHLO_DOMAIN=panel.example.com

config/mail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'username' => env('MAIL_USERNAME'),
4242
'password' => env('MAIL_PASSWORD'),
4343
'timeout' => null,
44-
'local_domain' => env('MAIL_EHLO_DOMAIN'),
44+
'local_domain' => env('MAIL_EHLO_DOMAIN', env('SERVER_NAME')),
4545
],
4646

4747
'ses' => [

0 commit comments

Comments
 (0)