I'm personally developing the e-mail register/login plugins. so, anyway i'm added phpmailer to my plug-in project... (it's a required a Google Mail Account, and need a SSL) and..i successfully writing, and windows is fine.. because i can easily added php_openssl.dll PHP: public function startTLS() { if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) { return false; } // Begin encrypted connection if (!stream_socket_enable_crypto( $this->smtp_conn, true, STREAM_CRYPTO_METHOD_TLS_CLIENT )) { return false; } return true; } https://github.com/if-Team/PMMP-Plugins/blob/master/EmailAuth/src/ifteam/EmailAuth/SMTP.php Code: 2015-07-04 [05:06:43] [Server thread/WARNING]: RuntimeException: "stream_socket_enable_crypto(): this stream does not support SSL/crypto" (E_WARNING) in "/plugins/_SOURCE_EmailAuth/src/ifteam/EmailAuth/SMTP" at line 274 but real problem is ubuntu,, pocketmine php setup script is normally doesn't set up the OpenSSL i already tried to edit php-build-scripts, but my script is unstable.. so.... now i have only two things.. choice to code (maybe is right) 1. using PolarSSH ..? (but i don't know PolarSSH) 2. recompile pocketmine php and add a OpenSSL anyone about knowing the how to use PolarSSH or how to import the OpenSSH to put in the php cli..?
i'm success the added OpenSSL to php cli i changed php script and added some old code and it's a clearly work! (i'm apply the OpenSSL 1.0.2) so PHPMailer Mail send() is work! anyway so much thanks PM team github! (because php-master-script code is all their code!)