Sorted again - ignore
I just moved the header lines around for no obvious reason. The random programming technique that has served me well for 30 years works again!!!
PS CUK, How come one can't delete a post these days?
*************************************
Customer fills in email order form which I am sending to myself:
$recipient = "[email protected]";
$title etc
$headers etc
$message etc
mail($recipient,$title,$message,$headers);
And sending confirmation email to customer changing title and headers only:
$recipient = "{$_POST['email']}";
$title etc
$headers etc
mail($recipient,$title,$message,$headers);
For some reason multiline messages sent to me are ok but the copy to the customer has extra blank lines stuck in. It isn't the order I'm doing things in, it's always the "{$_POST['email']}" version that gets messed up.
Any ideas why? Thanks for answers.
I just moved the header lines around for no obvious reason. The random programming technique that has served me well for 30 years works again!!!
PS CUK, How come one can't delete a post these days?
*************************************
Customer fills in email order form which I am sending to myself:
$recipient = "[email protected]";
$title etc
$headers etc
$message etc
mail($recipient,$title,$message,$headers);
And sending confirmation email to customer changing title and headers only:
$recipient = "{$_POST['email']}";
$title etc
$headers etc
mail($recipient,$title,$message,$headers);
For some reason multiline messages sent to me are ok but the copy to the customer has extra blank lines stuck in. It isn't the order I'm doing things in, it's always the "{$_POST['email']}" version that gets messed up.
Any ideas why? Thanks for answers.