We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20159
    • 26 Posts
    Hi

    I have checked the forum and snippet info but cannot find an answer:

    Is it possible for the site owner to get an email whenever someone signs up? Of course, the site owner can check the list of users in Manager, but my client is asking about email notification too.

    Anyone know if this is possible?

    Thanks smiley
      • 17531
      • 3 Posts
      Hi,

      Of course is possible. you can use the php mail() function, something like this:

      $to= "[email protected]";
      $subject= "A new user have been registed";
      $message= "New user!".
                "Username: ". $username
                ."E-mail: ". $email
                ."Adress: ". $adress;
      $header= "[email protected]"   
      mail($to, $subject, $message, $header);     
      


      You need add this code in web-signup that you use.


      If you need more help e-mail me: [email protected]

      Louis Monteiro
        • 11243
        • 27 Posts
        Or take a look at this posting wink