Join
the community
Sign-up
Ask a question »

PHP - mail function() issue

April 2013


PHP - mail function() issue




The mail function() is blocked by most free hosts for security reasons (avoid spamming), the IP address of the machine which requested the script will be indicated in the header 'X-MM - Mail-From-IP.

The syntax is:

mail ($ address, $ title, $ message, $ headers); 


with
$ Send the address of the mail;  
$ Under the title of the mail  
$ Message body of the mail  
$ Headers header optional 

See also

Knowledge communities.

Published by jak58
This document entitled « PHP - mail function() issue » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.
Receive our newsletter

health.kioskea.net

Unable to load dynamic library '/usr/lib/php4/20020429/mysql.so
PHP - Detect the display resolution