// Mail it
mail($to, $subject, $message, $headers);
Your process.php uses the mail function but not the variables you see hear. Simply modify your file to look like this and you should be all set. Let me know if you need more help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
aloha,
all form submision emails sent to me are not being sent from my domain, unfortunatly they are being sent from my hosts domain...
could you please inform me as to how to change this value ?
i want the adress to be NAME@MYDOMAIN.com <b>not</b> NAME@MYHOSTSDOMAIN.com
Thank you very much for all of your hard work, this is a great tool... i look forward to contributing in what ever way i can
Easy!
// recipient
$to = 'aidan@example.com';
// subject
$subject = 'Birthday Reminder';
// Additional headers
$headers = 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
$headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
$headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
$headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
Your process.php uses the mail function but not the variables you see hear. Simply modify your file to look like this and you should be all set. Let me know if you need more help.