Help!!!! You can send emails using any library of pocketmine , something like: PHP: public function send($m){ sendMail($m,"Mensagge");} or can use PhpMailer? Sorry for my english
It's funny, I spent two weeks searching for a way to do this without recompiling PocketMine's PHP, but I couldn't find a direct way. So to get around it, I simply set up a PHP script on my web server and received GET requests from my plugin containing the message destination and body.
That's what @LDX said, send mail outside PocketMine. This might be interesting to you https://github.com/mcprostar205/poc...rce/src/BuddyNotify/BuddyNotify.php#L504-L567
I made a api that can send a mail download url here http://korado.s602.xrea.com/PluginDownload/ Please change the language and download plugin. Please read instruction before use.
Many people thought that you just needed to install a plugin to make it possible to mail, which is wrong. An email server is much more complicated than what most people thought. For example, not only do you have to send mails, but you also have to make a mail server that receives to verify.