How to send mail using PHP and wamp/xamp? | Sololearn: Learn to code for FREE!

+1

How to send mail using PHP and wamp/xamp?

ERROR: Warning: mail(): Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in <FILE ADDRESS> on line 8 I'm using wamp server. I have downloaded the sendmail.zip for sending email using PHP and wamp server. I have also configured the php.ini file and the sendmail.ini file but no difference. Always getting the same error when running the email script through wamp. What is the perfect method to send emails using wamp and PHP? And what is possibly going wrong with my case?

11/22/2020 11:29:22 AM

Ayush Dubey

1 Answer

New Answer

+2

Download latest version and setup marcury mail and do the stuff that he does https://youtu.be/zO2p3uX9poY