Title: SMTP.php version number issue
Last modified: June 2, 2023

---

# SMTP.php version number issue

 *  Resolved [Eckstein](https://wordpress.org/support/users/eckstein/)
 * (@eckstein)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/smtp-php-version-number-issue/)
 * My emails stopped sending out, and I attempted to re-connect my SMTP info in 
   order to troubleshoot. Now, when I enter my info, I’m getting an error in the
   log when I try to send a test about a wrong version # for SMTP.php.
 * My WordPress, WooCommerce, and SMTP plugin are all fully updated.
 * Here is the log:
 *     ```wp-block-code
       Debug:
       Email Source: WP Mail SMTP
       Mailer: Other SMTP
       SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server
   
       SMTP Debug:
       2023-06-02 04:39:52 Connection: opening to ssl://smtp.mailendo.com:25, timeout=300, options=array()
   
       2023-06-02 04:39:53 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:0A00010B:SSL routines::wrong version number [/home/customer/www/pondpartpicker.com/public_html/wp-includes/PHPMailer/SMTP.php line 389]
   
       2023-06-02 04:39:53 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/customer/www/pondpartpicker.com/public_html/wp-includes/PHPMailer/SMTP.php line 389]
   
       2023-06-02 04:39:53 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.mailendo.com:25 (Unknown error) [/home/customer/www/pondpartpicker.com/public_html/wp-includes/PHPMailer/SMTP.php line 389]
   
       2023-06-02 04:39:53 SMTP ERROR: Failed to connect to server: (0)
   
       SMTP Error: Could not connect to SMTP host. Failed to connect to server
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Dake](https://wordpress.org/support/users/dakeg/)
 * (@dakeg)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/smtp-php-version-number-issue/#post-16789591)
 * Hi [@eckstein](https://wordpress.org/support/users/eckstein/)
 * Thanks for reaching out and we’re sorry to hear about the issue your are experiencing
   with the Other SMTP mailer.
 * Thanks for reaching out! The issue you ran into with the SMTP connection was 
   a serverside issue. Essentially, PHP was unable to make an SMTP connection to
   your SMTP server due to an error with the SSL certificate. This is not something
   we would be able to address, as it’s more in your hosting company’s field.
 * Please reach out to your website hosts support team.
 * Also please know, that the Other SMTP mailer option does not use a dedicated 
   API, which can lead to potential errors based on your website hosting/SMTP settings.
   In cases where ongoing issues arise while using the Other SMTP mailer, we generally
   recommend switching to a transactional mailer option (it’s all mailers except
   the _Other SMTP_ and _Default (none)_ option).
 * WP Mail SMTP has documentation on setting up each of the available mailers here:
   [https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/](https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/).

Viewing 1 replies (of 1 total)

The topic ‘SMTP.php version number issue’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dake](https://wordpress.org/support/users/dakeg/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/smtp-php-version-number-issue/#post-16789591)
 * Status: resolved