Skip to content

[5.8] Allow setting additional smtp config options - #28631

Merged
taylorotwell merged 2 commits into
laravel:5.8from
JustinBerger:5.8
May 27, 2019
Merged

taylorotwell merged 2 commits into
laravel:5.8from
JustinBerger:5.8

Conversation

@JustinBerger

Copy link
Copy Markdown
Contributor

laravel/ideas#1661
Allows configuring the source IP address used by swift mailer. Useful on servers with multiple ip addresses, or servers with both IPv4 and IPv6 addresses.

Allows configuring the localdomain sent by the swift mailer in the HELO or EHLO command. The default behavior is to send the server's name, but for sub-domain servers, it would be better to send the root domain (example.com instead of www.example.com).

Neither of these would change existing behavior unless config values were set.

I couldn't find any existing tests around transport manager to base my tests around, and wasn't sure how to test the purpose of this.

@taylorotwell
taylorotwell merged commit 7ed1dad into laravel:5.8 May 27, 2019
@GrahamCampbell GrahamCampbell changed the title Allow setting additional smtp config options [5.8] Allow setting additional smtp config options May 27, 2019
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