8 respostas

@Andegosu, Thanks for the solution. Its working fine in my usecase where I already have an email message associated to the case and I am sending the email through apex for the subsequent emaill. Now user can reply to the email notification which is successfully adding back to the parent case instead of new case.
Your solution to add the email headers from earlier messages is working as expected.