Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1601

IMAP_SMTP_METHOD smtp doesn't work with self-signed certificates

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.2 beta1, 2.6.2
    • Component/s: None
    • Labels:
      None

      Description

      Below configuration doesn't work with self-signed certificates

       

      define('IMAP_SMTP_METHOD', 'smtp');
      
      global $imap_smtp_params;// SMTP Parameters//      mail : no params
      $imap_smtp_params = array(
        'host' => 'ssl://mytest.local', 
        'port' => 465,
        'auth' => true, 
        'username' => 'imap_username', 
        'password' => 'imap_password', 
        'verify_peer_name' => false, 
        'verify_peer' => false, 
        'allow_self_signed' => true,
      );
      

       

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                james.zhang James Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: