Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SERVER_NAME environment variable #3110

Merged
merged 4 commits into from
Apr 17, 2021

Conversation

aussieserverhosts
Copy link
Contributor

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.

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.
@DaneEveritt DaneEveritt reopened this Mar 21, 2021
@DaneEveritt
Copy link
Member

Shouldn't this be blank by default or just commented out? Haven't really heard of it being an issue in the past. I do know that setting that example.com as the default will probably break things.

@aussieserverhosts
Copy link
Contributor Author

Either or. If left undefined, it will default to 'localhost' which will cause email providers like Google to reject emails despite having a whitelisted IP and correct headers

@DaneEveritt
Copy link
Member

Lets leave it blank and include a comment above it (use #) indicating what it does and maybe a link back to this PR? :)

@aussieserverhosts
Copy link
Contributor Author

Updated. Feel free to change it to something neater!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants