How Is It Possible To Send Email From A PHP Code Script File
- Forums
- PHP
- How Is It Possible To Send Email From A PHP Code Script File
This Page Contains information about How Is It Possible To Send Email From A PHP Code Script File By kiosky in category PHP with 2 Replies. [1147], Last Updated: Sat May 18, 2024
kiosky
Tue Apr 15, 2008
2 Comments
543 Visits
i want to know how i can send email with php from withing my script
lets say i have a contact us form and i want to have the form once its submitted and completed by the user or the customer it will send an email automatically to me
can that be done?
$recipient = "[email protected]"; // THIS WILL BE THE EMAIL WHERE THE FORM WILL BE SENT
$subject = "Contact Us Form "; // THE EMAIL SUBJECT
$forminfo =
" Hello, .\n
Your web form was submited by someone on your wesbite\n";
mail("$recipient", "$subject", "$forminfo", "From: $email\r\nReply-to:$email");
?>