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

Allow using a default stream context #19

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
1 participant
@robbertkl
Copy link
Contributor

commented Nov 8, 2015

Unfortunately, fsockopen() does not respect stream_context_set_default(). However, replacing it with stream_socket_client() resolves this. It will allow setting custom stream context options, without any substantial changes to SmtpMailer.

Of course, it would be nice if a stream context could be passed to the SmtpMailer (see #8), but until that's implemented, this will accomplish pretty much the same thing.

@dg dg closed this in 32ed5b9 Nov 29, 2015

dg added a commit that referenced this pull request Nov 29, 2015

@dg dg referenced this pull request Jun 12, 2016

Merged

Allow set stream context #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.