- 1

I want to send a verification mail using php. What is tha code and can i do this using localhost ?

15th Oct 2018, 11:34 AM
Ramiz Raza
Ramiz Raza - avatar
2 Réponses
+ 7
That's why you should use PHPMailer which doesn't require local smtp server. https://github.com/PHPMailer/PHPMailer It uses existing smtp servers. https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854 https://www.lifewire.com/what-are-windows-live-hotmail-smtp-settings-1170861 But usually web hotels comes with smtp servers but for localhost this is the easiest way.
15th Oct 2018, 1:09 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
you need a smtp server to be able use the mail function in php
15th Oct 2018, 11:43 AM
Willem Roos