WYSIJA_MySMTP

The MailPoet Newsletters WYSIJA MySMTP class.

Defined (1)

The class is defined in the following location(s).

/inc/mailer/class.mysmtp.php  
  1. class WYSIJA_MySMTP extends SMTP { 
  2. public function StartTLS() { 
  3. stream_context_set_option($this->smtp_conn, "ssl", "verify_peer", false); 
  4. stream_context_set_option($this->smtp_conn, "ssl", "verify_peer_name", false); 
  5. stream_context_set_option($this->smtp_conn, "ssl", "allow_self_signed", true); 
  6. return parent::StartTLS();