I want to write a small PHP emailing class to be able to send HTML emails. My problem is that in the receiving email an antivirus will insert a header which sometimes simply breaks the entire email.
Unfortunately I cannot find the logic after which this AV is guided because the header is broken under quite a few conditions, either after the 'MIME-Version: 1.0' or after 'Content...' or after the 'From' header.
Can anyone give some pointers on the rules these AV insert these headers?