I want to send an email using PHP. I've tried the code on the image but it won't send anything. Is there any requirements that I haven't use or download yet? or is there any syntax mistake?
Asked
Active
Viewed 34 times
-1
-
1Please post code as plain text, not images. – Barmar Dec 30 '19 at 18:27
-
1Check your SMTP settings in `php.ini`, make sure they match the configuration of your server. – Barmar Dec 30 '19 at 18:28
1 Answers
0
If you are trying to sending mail from you local machine than you need to have SMTP or Sendmail set into you local machine.

Chirag Chhuchha
- 395
- 2
- 12