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

Update smtp.php #1

Merged
merged 1 commit into from Aug 5, 2021
Merged

Update smtp.php #1

merged 1 commit into from Aug 5, 2021

Conversation

Asif-Mahmood
Copy link
Owner

changed the crypto type passed to stream_socket_enable_crypto in case of TLS host. As the current option of "STREAM_CRYPTO_METHOD_TLS_CLIENT" defaults to TLS 1.0 after PHP 5.6 which in turns fails on many mail hosts. As TLS 1.0 is not recommended by many mail hosts.

changed the crypto type passed to stream_socket_enable_crypto in case of TLS host. As the current option of "STREAM_CRYPTO_METHOD_TLS_CLIENT" defaults to TLS 1.0 after PHP 5.6 which in turns fails on many mail hosts. As TLS 1.0 is not recommended by many mail hosts.
@Asif-Mahmood Asif-Mahmood merged commit 73ca571 into master Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant