PHP Hebrew mail get messed up in outlook

i am trying to send a php mail with hebrew text.  the text has to come through right to left.

The code is set up with UTF-8

The email comes through properly in my browser GMAIL.
 but in outlook 2016 the letters come through backwards. Almost like it's not recognizing the dir='rtl'

What can I do to work around this?
rivkamakAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xtermieCommented:
0
arnoldCommented:
Look at the email source to see whether there are other extraneous entries, or the outlook default handler is set to Latin, versus following the email directive.

Look at outlook, view, encoding
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rivkamakAuthor Commented:
How can I ensure that my customers receiving the email in outlook won't experience the same problem ?
0
arnoldCommented:
You can not as each user controls the behavior of their application, I.e. Restricting the mail client to no dynamically adjust the setting, but instead have a defined view.

First, you shoukd confirm the cause, potentially your php nail, is missing a directive that outlook relies on.
This can be done by creating an email within outlook in Hebrew and then viewing its source when delivered to another source.
Compare the headings, attachment information
Character-set:utf-8 .....etc
And see if the outlook generated email has an additional parameter that is not seen in the message your php generates.
Adding that in a test to gmail to make sure the email remains functional and a copy to outlook to see .....

..
0
arnoldCommented:
See if the following link' https://social.technet.microsoft.com/Forums/office/en-US/2430f852-4fa2-4a26-97f6-4d7c00144108/some-hebrew-html-displayed-incorrectly-left-to-right-in-outlook-2013?forum=officeitpro

Helps.

The presumption is that the recipient has the noted options for input .... Right to left.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.