I can't figure out how to get a mail application (except google mail) to recognize that an email was sent as a "Reply-To" and have those emails grouped together as one list of sent and replied emails.
For example, using php, if I use
$header = "From: Testing <email@mail.com>\r\n" .
"Reply-To: email@mail.com\r\n" .
"X-Mailer: PHP/" . phpversion();
$to = "email@mail.com";
$message = "This is a reply";
$subject = "test 123";
$success = mail($to, $subject, $message, $header);
And send this twice, I get two separate emails. Instead of one email composed of the two emails.
Is there a way to have them both grouped together as one email replied to another, or am I doing something wrong?
I've read the php mail() documentation and multiple webpages explaining how php mail works and still can't get the emails to reply to each other.
Thank you for your time and help!