• Resolved imachris

    (@imachris)


    Hi,

    Thanks for the great plugin, it works very well.

    However, when I send a multi-language email (in this case, English and Arabic), the encoding for the body are received wrongly on outlook. It seems like it is set to western no matter what charset I set with the WP charset filter. The mail subject do reflect the charset changed though.

    I have tested the issue on Outlook and Mac mail, Mac mail does display the encoding correctly, but Window and Mac Outlook does not.

    Then, I try send an encrypted mail with mixed language directly from outlook to outlook, or Mac mail to outlook, it does display the encoding correctly.

    Do you have any ideas about what is causing the issue?
    I appreciate your reply. Thank you in advance!

    Regards,
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Meitar

    (@meitar)

    Do you have any ideas about what is causing the issue?

    No, sorry. You didn’t really say very much about your set up so there’s not a lot to go on. If you think you’ve found a bug, write a good bug report. Include the full raw source of relevant emails, at a minimum.

    Thread Starter imachris

    (@imachris)

    Thanks for the reply, I have wrote a bug report at Github issue.

    Please do let me know what anything else you need me to provide, thanks again.

    Regards,
    Chris

    Plugin Author Meitar

    (@meitar)

    As a follow up, the solution after investigating the issue is to ensure the contact form plugin or other code that generates the email in the first place is setting its own Content-Type header correctly, before encryption. This is required because the contents of the plaintext is encrypted wholesale as per the S/MIME specification.

    Typically, you should add a Content-Type header of this form:

    Content-Type: text/plain; charset=UTF-8

    The exact way you add a custom mail header varies depending on the third-party plugin you’re using, so consult the documentation of the third-party plugin for more precise instructions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multi language email, mail body encoding are wrong on Outlook’ is closed to new replies.