Reputation: 14511
I have a PHP mail script and I need to authenticate with my host's SMTP server. I believe I need to use a 3rd party mail class like XPertMailer, but I'm not sure how to set this up.
Here's my script:
//send email containing their password to their email address
mail($email, 'Forgotten Password', "Here is your password: ".$row['password']."\n\nThanks for using my website!!", 'From: [email protected]');
Upvotes: 1
Views: 853