Skip to content
Advertisement

issue with php mail function

I am writing a PHP script for taking data from HTML form and send it to a specific email. but getting errors shown in pictures. how to resolve it? enter image description here enter image description here enter image description here

Advertisement

Answer

Use $_POST instead of $_post.

for more details please check below reference site.
https://www.php.net/manual/en/reserved.variables.post.php

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement