I have made a pretty simple php booking form that gets sent to the client as well as the person that used the form to make the booking.
I have the usual toaddress, subject, message, fromaddress in the mail function.
mail($toaddress, $subject, $strMessageBody, $fromaddress);
mail($email, $subject, $strMessageBody, $fromaddress);
I now need to send the full copy to the client and a limited version to the user excluding some variables (ie. payment details).
Was wondering the best way to go about this?