Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[5.2] Add stream_options to config#13715

Merged
taylorotwell merged 2 commits into
laravel:5.2from
splitice:5.2
May 26, 2016
Merged

[5.2] Add stream_options to config#13715
taylorotwell merged 2 commits into
laravel:5.2from
splitice:5.2

Conversation

@splitice
Copy link
Copy Markdown
Contributor

Swiftmailer has now been updated to include an option for setting the stream options. This is required in newer PHP versions for dealing with unsigned certificates.

This adds a configuration option stream_options.

@GrahamCampbell GrahamCampbell changed the title Add stream_options to config [5.2] Add stream_options to config May 26, 2016
@GrahamCampbell
Copy link
Copy Markdown
Collaborator

Looks ok to me.

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

It'll need a matching PR to laravel/laravel though.

$transport->setPassword($config['password']);
}

if (isset($config['stream_options'])) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather avoid having an underscore if at all possible.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to adjust as you wish

@taylorotwell taylorotwell merged commit 891bfc8 into laravel:5.2 May 26, 2016
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.

3 participants