Jump to content

[SOLVED] whats wrong here?


think-digitally

Recommended Posts

Error given

 

Warning: mail() expects at most 5 parameters, 7 given in /home/content/a/1/6/a16538296/html/send_contact.php on line 13

 

Code

 

<?php
$print1 ="$print1";
$print2="$print2";
$print3="$print3";
$name="$name";
$customer_mail="$customer_mail";

$mail_from="$customer_mail";
$header="from: $name <$mail_from>";

$to ='[email protected]';

$send_contact=mail($to,$print1,$print2,$print3,$name,$customer_mail,$header);

if($send_contact){
echo "We've recived your contact information";
}
else {
echo "ERROR";
}
?>

 

Link to comment
https://forums.phpfreaks.com/topic/109781-solved-whats-wrong-here/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.