0

Sending email

How to sending email in localhost php?

5th Apr 2018, 5:01 PM
Fathona Aji
Fathona Aji - avatar
3 Respostas
+ 5
You could use the php mail() function but it doesn't work on every email. Hotmail needs SMTP authetication so use PHPMailer instead. https://stackoverflow.com/questions/22371724/sending-mail-in-php-using-hotmail-smtp mail() function should work fine on gmail and you can try that but for public website I don't recommend it.
5th Apr 2018, 7:25 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
I use hmailserver... https://www.hmailserver.com/ You can set it up to use mail() with no authentication for localhost.
5th Apr 2018, 7:59 PM
William Then
William Then - avatar
+ 1
Wow thank you very much bro
5th Apr 2018, 10:37 PM
Fathona Aji
Fathona Aji - avatar