Hi,

I am currently using the JPMaster77 Login System I downloaded from Evolt.com.

This system works amazingly well and was so easy to work with.

My question is:

When a user signs up, they get a welcome letter. How can I also send a letter to me so I know a new member has signed up?

The email that is currently being sent is:

class Mailer
{
/**
sendWelcome - Sends a welcome message to the newly
registered user, also supplying the username and
password.
/
function sendWelcome($user, $email, $pass){
$from = "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">";
$subject = "Encom Wireless Data Solutions - Welcome!";
$body = $user.",\n\n"
."Welcome! You've just registered at Encom Wireless Data Solutions' Site "
."with the following information:\n\n"
."Username: ".$user."\n"
."Password: ".$pass."\n\n"
."If you ever lose or forget your password, a new "
."password will be generated for you and sent to this "
."email address, if you would like to change your "
."email address you can do so by going to the "
."My Account page after signing in.\n\n"
."- Encom Wireless Data Solutions";

  return mail($email,$subject,$body,$from);

}

Any help you can offer is greatly appreciated!

Ayla

    // after this line...
    $from = "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">";
    // add this line... (be sure to use '.=', not '=')
    $from .= "\r\nBcc: yourname@yoursite.com";
    

      That worked perfectly NogDog,

      Thank you so much!

      Ayla

        Write a Reply...