I simply need to make the email that arrives show that it is from the person filling out the form online. The current line of code makes the email appear as though it is from myself and is causing it to go straight to my junkmail.
mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
What should ‘From: ‘_____’’ be? I would like it to be the result of the text field named “Name” in my form.
Also, for the subject line, can I make is say "Inquiry From “Company” " and insert the result from the text field “Company” into the subject line.
$subject = 'Inquiry from '_______'';
I’m thinking these are pretty easy things…but if someone can help me out, that’d be great!