Hey, I am having trouble sending mail with php script from a form.
Here are the Files cgimana.com/recform.zip
I have no idea what wrong, but I'm not receiving the e-mails...but I get no errors with the script. I tried adding
function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address) {
if (SEND_EMAILS != 'true') return false;
// Instantiate a new mail object
$message = new email(array('X-Mailer: osCommerce'));
// 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($recipient, $subject);
}
(it's a mail script from oscommerce) But still no erroes and still no e-mail.....would anyone have any input?
-Hoped I helped. Don't forget this site is Member supported.
Here are the Files cgimana.com/recform.zip
I have no idea what wrong, but I'm not receiving the e-mails...but I get no errors with the script. I tried adding
function tep_mail($to_name, $to_email_address, $email_subject, $email_text, $from_email_name, $from_email_address) {
if (SEND_EMAILS != 'true') return false;
// Instantiate a new mail object
$message = new email(array('X-Mailer: osCommerce'));
// 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($recipient, $subject);
}
(it's a mail script from oscommerce) But still no erroes and still no e-mail.....would anyone have any input?
-Hoped I helped. Don't forget this site is Member supported.