Here is what I have.
$autoresponder_enabled = 1;
$autoresponder_from = 'Jen <xXx_Eternity_xXx@hotmail.com>';
$autoresponder_subject = "%subject% (autoresponse)";
$message = "Initial message";
if(isset($_POST['products']['general']))
{
$message .= "This is message one- general information.";
}
if(isset($_POST['products']['wedrock']))
{
$message .= "This is message two- Wedding rock.";
}
$autoresponder_message = $message;
What Im trying to do is persuade it to send automated mail that is relevant to the boxes checked on a form. So, if box 1 (general) is checked, i want it to send the initial message Plus message one. If box two is checked i want initial message plus message two. if both are checked i want initial message plus both.
Thus far I can only persuade it to send the initial message and nothing else.
Help plz?
Im a complete php novice by the way, so plz examples rather than suggesting things I wont understand!