Open Source Content Management System

Mailtemplate and special characters

  1. Mailtemplate and special characters

    Thu April 17 2008 17:05:03 UTC
    Hi!

    I noticed that mails sent with mailtemplate always mangle special
    characters and tracked this down to midcom/helper/mailtemplate.php line 461:


    // Kill these from the headers again, it seems that the Mail
    package
    // adds these again, resulting in a broken E-Mail. So we rather
    skip
    // the encoding lines entirely.
    unset($hdrs['Content-Type']);
    unset($hdrs['Content-Transfer-Encoding']);


    I don't know if this is specific to my installation, but commenting out
    those two lines fixes the problem. If nobody complains, I would like to
    remove them altogether.


    Bye,

    Andreas
    _______________________________________________
    dev mailing list
    dev@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/dev
    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
Designed by Nemein, hosted by Anykey