Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send mail?

Comments in 'Plugin Development' started by _Lion, Aug 1, 2016.

  1. _Lion
    Offline

    _Lion New Member

    Joined:
    Jul 25, 2016
    Posts:
    6
    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 :p
  2. PaulchenHD
    Offline

    PaulchenHD Active Member

    Joined:
    Jan 17, 2016
    Posts:
    111
    Minecraft User:
    Paulchen_HD
    Yeah its interesting im waiting for other answers ^^
  3. _Lion
    Offline

    _Lion New Member

    Joined:
    Jul 25, 2016
    Posts:
    6
    :p like almost all
  4. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    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.
    PocketKiller, SOFe and _Lion like this.
  5. _Lion
    Offline

    _Lion New Member

    Joined:
    Jul 25, 2016
    Posts:
    6
    Thank you for your opinion , something I plan to do if you do not find an answer
  6. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
  7. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    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
  8. korado531m7
    Offline

    korado531m7 Active Member

    Joined:
    Apr 4, 2015
    Posts:
    158
    Minecraft User:
    korado531m7
  9. _Lion
    Offline

    _Lion New Member

    Joined:
    Jul 25, 2016
    Posts:
    6
    Thank you all for your answers :)
  10. SOFe
    Offline

    SOFe Banned

    Joined:
    May 28, 2016
    Posts:
    386
    Minecraft User:
    Herobrine
    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.

Share This Page

Advertisement