Skip to content

Commit eb582f5

Browse files
Added SERVER_NAME environment variable (pterodactyl#3110)
Added SERVER_NAME environment variable to stop laravel framework server name defaulting to localhost, causing mail relays such as Gmail to stop silently dropping emails due to sender name being localhost.
1 parent 1e2f649 commit eb582f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ MAIL_USERNAME=
2525
MAIL_PASSWORD=
2626
MAIL_ENCRYPTION=tls
2727
MAIL_FROM=no-reply@example.com
28+
# You should set this to your domain to prevent it defaulting to 'localhost', causing
29+
# mail servers such as Gmail to reject your mail.
30+
#
31+
# @see: https://github.com/pterodactyl/panel/pull/3110
32+
# SERVER_NAME=panel.yourdomain.com
2833

2934
QUEUE_HIGH=high
3035
QUEUE_STANDARD=standard

0 commit comments

Comments
 (0)