Skip to content

Conversation

@robbertkl
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant