Just Host Web Hosting Help

Emails not sending out with correct character set

Problem:

Emails are not sending out in the correct character sets. Recipients are receiving odd characters instead of the specified set.

Solution:

This is a known issue with our servers. We are working to resolve this.

In the meantime, you can fix your immediate concerns by overriding php's mail() function, to encode the emails to a given character set. You can add the following to your php.ini, to do this:

   
          [mbstring] 
          mbstring.language = Neutral
          mbstring.internal_encoding = UTF-8
          mbstring.http_input = UTF-8
          mbstring.http_output = UTF-8
          mbstring.encoding_translation = On
          mbstring.detect_order = auto
          mbstring.substitute_character = long;
          mbstring.func_overload = 1
        

This is for utf8. You can take a look at php.net's mbstring page, located here: http://www.php.net/manual/en/ref.mbstring.php for specific language options.

PLEASE NOTE!!!: Unfortunately, simply adding this information to your php.ini will not resolve all of your issues. Please contact the maker of your script, and confirm what settings you may need to add as the subject and body may be encoded differently. Fortunately the majority of the makers of common and well known scripts have helpful forums and FAQs.

Knowledgebase Article 42,762 views bookmark tags: character email mail php set (updated 576 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to Set different character sets with PHP and HTML to display correctly. (updated 1381 days ago)
Knowledgebase Article 49,621 views tags: character language mysql php phpmyadmin sets

Instructions to set different character sets in HTML. Note: Not all character sets will be correctly rendered with this encoding format, but most will. You can find specific information about which ch (updated 461 days ago)
Knowledgebase Article 53,367 views tags: arabic change character chinese html japanese language languages sets

The most common cause is that you are either sending to or sending from an invalid email address. You will want to create a new email address, and change your profile to use a different Email address. (updated 1422 days ago)
Knowledgebase Article 54,526 views tags: email fantastico php phpbb sending

Related Help Content

What character sets are supported for MySQL? (updated 1398 days ago)
Knowledgebase Article 45,195 views tags: character mysql set sets

Trying to send out emails from multiple email accounts fail from both webmail and third party email clients. Possible Reasons: The maximum emails per hour has been exceeded. This can be caused by forw (updated 1044 days ago)
Knowledgebase Article 117,658 views tags: email exceeded mailbox outlook receiving send unable

I send an email to one person and then do a carbon copy (Cc) to multiple other people. Not everyone is receiving the email, even when I try using blind carbon copy (Bcc). (updated 45 days ago)
Knowledgebase Article 53,829 views tags: blind carbon carboncc copy email mail multiple partial people persons receive receiving

I am not receiving messages sent through my e-mail forwarders. (updated 294 days ago)
Knowledgebase Article 65,925 views tags: disappeared email emails forwarder forwarders missing

You can try sending the email on port 26, which is an alternate SMTP port and see if that works for you. For outlook: (updated 93 days ago)
Knowledgebase Article 67,845 views tags: configuration email outlook pop sending setup

There are a large number of emails or spam that need to be deleted from an email account. (updated 1417 days ago)
Knowledgebase Article 47,263 views tags: delete email emails spam

My domain's MX records point elsewhere and I cannot send emails to my domain from the web. (updated 1267 days ago)
Knowledgebase Article 67,974 views tags: email emails entry mx record remote

How to batch email in Dada Mail. (updated 948 days ago)
Knowledgebase Article 20,623 views tags: email filter mail