1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Email / PHP / Mime problems

Discussion in 'Plesk for Linux - 8.x and Older' started by meistaiwan, May 20, 2005.

  1. meistaiwan

    meistaiwan Guest

    I've just upgraded to the newest Plesk version, and a very odd thing has started happening. I have extra Mime headers added to every single one of my emails, for no apparent reason. I've had to edit my oscommerce and my custom mail() php script to compensate for this...for example:

    MIME-Version: 1.0
    X-Mailer: osCommerce
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit
    Mime-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: BASE64
    Between the --------'s are new mime headers which confuse the **** outta email clients, like outlook and firefox, not knowing which ones to use. I've had to hack up my oscommerce sites because the email is pure jibberish, and rewrite my own custom mailform that uses php mail() function to not put in mime headers so they aren't a pair of them in there. What the hell is going on? I've got a fedora core 2 install, everything was working fine, then after the upgrade to 7.5.3, these extra mime headers are added to every php email sent out. Anyone experiencing or know what's going on here??
  2. phorium

    phorium Guest

    I had the same problem at one point, and I'm trying to remember what fixed it. It was a setting in the php.ini file.

    Check this line and tell me if it's commented out or not:
    mbstring.func_overload = 7
  3. vonaras

    vonaras Guest

    What does Plesk 7.5 call the php.ini?

    Was this issue ever resolved?
  4. interversal

    interversal Guest

    I had the same problem, you're right commenting out mbstring.func_overload = 7 in php.ini fixed the problem.
    And for anyone doing the same keyword search looking for a fix, heres
    sendmail php corrupt garbled messages.

    Those are the words I used and couldn't find anything. If it wasnt't for checking the mime headers, I'd still be in trouble ...