I am making a Post request api My problem is sending mail function. I use the mail() php function “mail($to, $subject, $message, $headers)” but it is not working… Is there any way to achieve this?
Hi @anicacute09,
Can you elaborate on the not working part a little bit? Perhaps show us a little code? Are you seeing any errors in the output? Are there any errors in your server log?
1 Like
mail(); php function is not working for me, some says I need to use PhpMailer I think to work it all around…
Using phpmailer for mail handing is generally a good idea. I would suggest you give it a try.
thanks I’ll give it a try
thanks to all who help me with this. I already use PHPMailer and it works… thanks again…