1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Sending message to email

Discussion in 'Facepalm' started by DanielYTK, May 10, 2017.

  1. DanielYTK

    DanielYTK Zombie

    Messages:
    227
    Is there any way I can do that when a player executes a command, I send a message to your email? Gmail.com thank you.
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    See the mail() function from php.
     
  3. BruhLol

    BruhLol Baby Zombie

    Messages:
    122
    how to setup smtp?
     
  4. DanielYTK

    DanielYTK Zombie

    Messages:
    227
  5. DanielYTK

    DanielYTK Zombie

    Messages:
    227
  6. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you should try not to use mail maybe with PHPmailer and google tokens instated
     
  7. DanielYTK

    DanielYTK Zombie

    Messages:
    227
    Is there any notable difference in using PHPMailer and not the mail () function?
     
  8. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    mail function may not even work, unless the host or yourself have proper mailing setup, you may unable to send it OR it gets rejected due to sending a lot or inside of a dynamic ip range
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.