gunn Posted December 28, 2004 Posted December 28, 2004 I am working on an custom feedback form and have come to a stubling block. in myfile.php I have created 5 different $HTTP_POST_VARS for the result of the feedback. I have successfully sent them to the general.php calling tep_mail However when I get the email I only get the last $message line of the five function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address, //added this $email_a, $email_b, $email_c, $email_d, $email_e) { if (SEND_EMAILS != 'true') return false; // Instantiate a new mail object $message = new email(array('X-Mailer: osCommerce Mailer')); // Build the text version $text = strip_tags($email_text); if (EMAIL_USE_HTML == 'true') { $message->add_html($email_text, $text); } else { $message->add_text($text); } // Send message $message->build_message(); $message->send($to_name, $to_email_address, $from_email_name, $from_email_address, $email_subject); } how can I combine the $enquiry, $email_a, $email_b, $email_c, $email_d, $email_e and put it to the $text so that it gets sen in the message? I am new to this but I am really giving an effort
Recommended Posts
Archived
This topic is now archived and is closed to further replies.