I am learning php so i want to know if it is possible to send an e-mail through
localhost using php?
if yes then how?
If you are on Windows, mail() function might not work if you haven't install an email server. Try using SMTP mail.