php mail utf8

Asked by:
BrianDiehm
Time:
2013-02-27 4:22 am
Category:
Send Email From A Page
Hits:
210
How do I set the e-mail output mode in PHP to be UTF-8? In perl, this would be:

binmode (MAIL, "utf8");

What's the PHP equivalent

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User

0

johnpaulb-whh2
2013-02-27 2:23 pm
Hello BrianDiehm,

Thank you for your question. Unfortunately, we do not have an article that covers this. After doing an internet search, it looks like this can be set in the Header of the message by using this line of code:

$headers1 .= "Content-type: text/html; charset=UTF-8\r\n";

If you have any further questions, feel free to post them below, or contact live Tech Support.

They are available 24/7 via:
Email: support@webhostinghub.com
Phone: 877-595-4482 x2
&
Chat (there is a link on the top right).

Thank you,

-John-Paul

You must login before you can post a comment about this answer.

Like this Question?

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.