Answers.Body: <p>Check <a href="https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem/10966#10966">this answer</a> on the SE question <strong><a href="https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem">SMTP connection failing problem</a></strong>. Seems related with your problem due to the PHP update above version 5.5.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-14T14:34:29.980Z
Answers.LastActivityDate: 2018-11-14T14:34:29.980Z
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.Body: <p>It's likely that you've added (or removed) the <code>php-crypt</code> library in your PHP upgrade process.  This would cause your password to be encrypted in an incompatible method.  Re-enter your credentials or match your <code>php-crypt</code> to what it was previously.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-18T17:16:48.300Z
Answers.Text: If that were the case, why did Easy WP SMTP not have the same problem? This is not the first time I've had this problem.
Answers.UserDisplayName: Codedogs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-18T17:43:34.000Z
Answers.Text: If the problem is what I'm suggesting it is, then the issue isn't SMTP - it's how the credentials are stored in the database.  I have no idea how Easy WP SMTP stores its credentials in the database.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-14T19:59:14.977Z
Answers.Text: All other sites are working fine but currently it gives some error as "The e-mail could not be sent.
  Possible reason: your host may have disabled the mail() function..."
Answers.UserDisplayName: Vishal Kumar Sahu
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-14T21:01:17.783Z
Answers.Text: @VishalKumarSahu That sounds like a different problem.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-18T00:40:37.557Z
Answers.LastActivityDate: 2018-01-18T00:40:37.557Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>WordPress 4.9.2
  CiviCRM 4.7.29</p>
  
  <p>I'm trying to upgrade to PHP 7 from 5.5, but CiviCRM mailer stops working. The Send test email results in:
  <a href="https://i.sstatic.net/BM2FS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BM2FS.png" alt="enter image description here"></a></p>
  
  <p>To verify the email settings I used Easy WP SMTP 
  <a href="https://i.sstatic.net/5Oklq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5Oklq.png" alt="enter image description here"></a></p>
  
  <p>And it is able to send a test email.
  <a href="https://i.sstatic.net/yoiQH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yoiQH.png" alt="enter image description here"></a></p>
  
  <p>The server does not support SSL or TLS. Any ideas about what to try next?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-17T19:56:44.980Z
Comments.Text: Can you double check the port in the CiviMail, it looks to be set to 567 in the screenshots.
Comments.UserDisplayName: Kevin Cristiano
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-17T21:19:51.497Z
Comments.Text: Thank you for noticing that. I'm getting authentication errors now in PHP 5.5.38. Does Settings - Outbound Mail reset the SMTP password if you change the configuration port or server?
Comments.UserDisplayName: Codedogs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-17T21:25:44.593Z
Comments.Text: I would reenter the password to be certain.
Comments.UserDisplayName: Kevin Cristiano
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-18T17:18:22.057Z
Comments.Text: Yes authentication errors = wrong password.
Comments.UserDisplayName: Codedogs
Tags: <wordpress><email><4.7><php7>
Title: Email not working after upgrade to PHP 7.0
ThreadText: # Email not working after upgrade to PHP 7.0
  
  (Asked by: username_0 on 2018-01-17)
  
  WordPress 4.9.2
  CiviCRM 4.7.29
  
  I'm trying to upgrade to PHP 7 from 5.5, but CiviCRM mailer stops working. The Send test email results in:
  [![enter image description here](https://i.sstatic.net/BM2FS.png)](https://i.sstatic.net/BM2FS.png)
  
  To verify the email settings I used Easy WP SMTP
  [![enter image description here](https://i.sstatic.net/5Oklq.png)](https://i.sstatic.net/5Oklq.png)
  
  And it is able to send a test email.
  [![enter image description here](https://i.sstatic.net/yoiQH.png)](https://i.sstatic.net/yoiQH.png)
  
  The server does not support SSL or TLS. Any ideas about what to try next?
  
  **Tags:** wordpress, email, 4.7, php7
  
  > **Comments:**
  > **username_1**: Can you double check the port in the CiviMail, it looks to be set to 567 in the screenshots.  
  > **username_0**: Thank you for noticing that. I'm getting authentication errors now in PHP 5.5.38. Does Settings - Outbound Mail reset the SMTP password if you change the configuration port or server?  
  > **username_1**: I would reenter the password to be certain.  
  > **username_0**: Yes authentication errors = wrong password.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2018-11-14. Score: 1
  
  Check [this answer](https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem/10966#10966) on the SE question **[SMTP connection failing problem](https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem)**. Seems related with your problem due to the PHP update above version 5.5.
  
  
  ---
  
  ### Answer by username_3 on 2018-01-18. Score: 1
  
  It's likely that you've added (or removed) the `php-crypt` library in your PHP upgrade process. This would cause your password to be encrypted in an incompatible method. Re-enter your credentials or match your `php-crypt` to what it was previously.
  
  > **Comments:**
  > **username_0**: If that were the case, why did Easy WP SMTP not have the same problem? This is not the first time I've had this problem.  
  > **username_3**: If the problem is what I'm suggesting it is, then the issue isn't SMTP - it's how the credentials are stored in the database.  I have no idea how Easy WP SMTP stores its credentials in the database.  
  > **username_4**: All other sites are working fine but currently it gives some error as "The e-mail could not be sent. Possible reason: your host may have disabled the mail() function..."  
  > **username_3**: @username_4 That sounds like a different problem.  
  
  ---
  
  