+ 11
How can I send registration confirmation mail using php?
I have done till getting the data and storing it in database(in local host).Further I have no idea how to proceed can anyone help with it?
5 Answers
+ 8
yes thank you Toni Isotalo
+ 9
it's fine Yousef10 I'm working on it anyways thank you đ
+ 8
User PHPMailer. It's the most popular php library to send emails. It doesn't require mail server like the mail() function.
https://github.com/PHPMailer/PHPMailer
+ 5
Remember that it requires your real existing email account.
https://www.sitepoint.com/sending-emails-php-phpmailer/
And the body should be proper html document.
And if you havenât done it yet.
On registration generate random token and store it with the user information.
And send the link via email like.
http://domain.net/email.php?token=âemailTokenâ
And check which user does the token belong to.
+ 4
Sujith D Hello , Sorry But i Don't Know How I Can Make Email Sender , I Just Learning that :(