Forward of MS email

liderbug

New member
I host local organization - web and email. One+ member sends an email to the membership and there are option in the Subject line so it goes through a PHP script - bottom line "mail ($to, $subj, $msg, $headers);" My problem is that their MS email just can't resist inserting all sorts of formatting and when the incoming message gets copied in to the outgoing $msg -> wordsget runtogether, themessagel has "�"s inserted. Short of writing a ton of script to de-format the text is there a way to clean the incoming message?
thanks
 
Hi,
Can you attach an example mail with headers (without sensitive data)? Probably there is an issue with encoding and it can be easly fixed using mb_convert_encoding or iconv, but it should be verified with information from your email headers
 
Back
Top