- Code: Select all
$mess="Your account have been registered. To activate click <a href='localhost/atestat3/activ.php?x=" . $rand . "'>here</a>.";
$mess=wordwrap($mess, 70, "\r\n");
mail($_POST['email'], 'Activation', $mess);
I read some posts that i need to configure something is php.ini, I tried some of the methods but it didn't work. I am using XAMPP v.1.8.1.
I want to use the mail with localhost if it's possible because i won't be able to install aditional programs.
Need help. Thanks!