- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Help with PHP script not working properly
- 7:13 pm on Aug 22, 2011
Namely, I don't know what you mean about "there is no mail for $send2".
This is why, you need to have a closer look at what you are populating that variable with ... namely no email.
$send2 = mail($from, $subject2, $autoreply, $headers2);
Print each of these variables out and exit your script before sending the email and have a closer look at what values are in each variable. Compare that to the mail() functions expected parameter values and see if you spot the problem.
Brought to you by