+ 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?

30th Jul 2018, 4:06 PM
thealoneprogrammer
thealoneprogrammer - avatar
5 odpowiedzi
+ 8
yes thank you Toni Isotalo
1st Aug 2018, 5:21 AM
thealoneprogrammer
thealoneprogrammer - avatar
+ 9
it's fine Yousef10 I'm working on it anyways thank you 😊
1st Aug 2018, 1:29 PM
thealoneprogrammer
thealoneprogrammer - avatar
+ 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
30th Jul 2018, 4:26 PM
Toni Isotalo
Toni Isotalo - avatar
+ 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.
1st Aug 2018, 1:52 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
Sujith D Hello , Sorry But i Don't Know How I Can Make Email Sender , I Just Learning that :(
1st Aug 2018, 1:17 PM
Yousef Eabitan
Yousef Eabitan - avatar