dflow Posted February 24, 2011 Share Posted February 24, 2011 this worked and stopped, no error no idea why is this a conflict? echo("<meta http-equiv = refresh content=0;url=".$url_success.">"); mail($to_supplier, $subject_supplier, $message_supplier, $headers_supplier); $ok = @mail($email_to, $email_subject, $email_message, $headers); Quote Link to comment Share on other sites More sharing options...
ChemicalBliss Posted February 24, 2011 Share Posted February 24, 2011 It looks ok, albeit lacking a little code consistency and standards but it should work really, try this, though; mail($to_supplier, $subject_supplier, $message_supplier, $headers_supplier); mail($email_to, $email_subject, $email_message, $headers); Header('location: $url_success'); exit(); Also, you may want to echo all the variables your using in each mail() functuion to make sure they are not wrong, eg. exit(" -SUPPLIER- $to_supplier $subject_supplier $message_supplier $headers_supplier -EXTRA- $email_to $email_subject $email_message $headers "); hope this helps Quote Link to comment Share on other sites More sharing options...
dflow Posted February 24, 2011 Author Share Posted February 24, 2011 It looks ok, albeit lacking a little code consistency and standards but it should work really, try this, though; mail($to_supplier, $subject_supplier, $message_supplier, $headers_supplier); mail($email_to, $email_subject, $email_message, $headers); Header('location: $url_success'); exit(); Also, you may want to echo all the variables your using in each mail() functuion to make sure they are not wrong, eg. exit(" -SUPPLIER- $to_supplier $subject_supplier $message_supplier $headers_supplier -EXTRA- $email_to $email_subject $email_message $headers "); hope this helps cheers ill give it a go Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.