We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17052
    • 41 Posts
    Email was sended via eForm have charset:

    Content-Type: text/html; charset="iso-8859-1"

    How i can change that to other?
      • 33337
      • 3,975 Posts
      If I can recall correctly, you need to define the charset in System Configuration, eform uses default site charset to send mails.

      hope this helps.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 17052
        • 41 Posts
        Quote from: zi at Dec 04, 2006, 11:33 AM

        If I can recall correctly, you need to define the charset in System Configuration, eform uses default site charset to send mails.

        hope this helps.
        Charset is set in configuration = utf8
          • 33337
          • 3,975 Posts
          Okay, I guess its hardcoded in phpmailer class!...

          here is how to fix it up:

          Open manager/includes/controls/class.phpmailer.php

          On Line 36, change:

          var $CharSet = "iso-8859-1";
          to

          var $CharSet = "utf-8";

          Save it, send a test email and you are done! (most hopefully).

          regards.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 17052
            • 41 Posts
            Thank you! It’s working! =)
              • 17802
              • 190 Posts
              Hi grin
              I have a similar question: I’d like to change the character encoding in the header of the email being sent. The encoding is currently iso-8859-1, which is a problem for me because it doesn’t contain the euro sign. Iso-8859-15 would be better, or perhaps even utf-8. Any ideas on how to change the headers?
                Thanks for MODx - I love it!
                • 33337
                • 3,975 Posts
                Quote from: Maaike at Dec 07, 2006, 02:20 PM

                Hi grin
                I have a similar question: I’d like to change the character encoding in the header of the email being sent. The encoding is currently iso-8859-1, which is a problem for me because it doesn’t contain the euro sign. Iso-8859-15 would be better, or perhaps even utf-8. Any ideas on how to change the headers?
                See the posts above.

                mod note: Topic Merged
                  Zaigham R - MODX Professional | Skype | Email | Twitter

                  Digging the interwebs for #MODX gems and bringing it to you. modx.link