Intro
Additional Header Info
An Example Free Script
Sending...
Here on C-W-M we have had a lot of interest lately in using PHP mail functions. PHP provides an easy way to collect information on your website. Everything from a contact form to an online survey, to a ?Tell a Friend? script can be built from a few easy to learn pieces of code. This brief tutorial is the first part of a series PHP Mail Form Script Tutorials.
This is mail function for PHP in its simplest form:
Code: mail ( string to, string subject, string message)
The arguments are strings. So that using it might look like:
Code: mail ( ?to@emailaddress.com?, ?This is my subject line?, ?This is my message. \n The \n to the left of this text makes a new line?)
You can send additional arguments to the function including additional headers and parameters.
ie:
Code: mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])
Reference the mail function in the PHP manual here:
http://www.php.net/manual/en...
Sean Buscay
www.christian-web-masters.comSean Buscay is on a mission to CREATE, ADVANCE, and EXPOUND faith in JESUS using web technology. He is the owner of Christian-Web-Masters.com .