Phpmailer-class email garbled solution

Source: Internet
Author: User
Tags mail code mail example php example gmail mail
Phpmailer-class email garbled solution
The phpmailer class sends emails with garbled characters. The main reason is that the encoding is not uniform. here we will introduce you to a simple solution. if you need it, you can check it out.

If the PHPMailer project file is in GBK2312 format, add the following to the email. func. php file:

$ Mail-> CharSet = "gb2312 ";

To solve the garbled problem. Articles you may be interested in: example of PHPMailer sending mail share phpmailer sending gmail mail example of phpmailer sending NetEase 126 Mail example of phpmailer sending yahoo Mail example of phpmailer class implementation of mass mailing instance code PHPMailer sending mail code instance (ubuntu system) PHPMailer example of sending mails with attachments PHPMailer the ultimate solution for sending and receiving mail titles, senders, and content garbled problem PHPmailer the solution for sending mails with garbled characters PHPMailer solution to garbled text in the mail Title: PHPMailer Mail example (163 email) phpmailer: how to solve the problem of Chinese garbled characters in emails sent by phpmailer: how to solve the problem of PHPmailer Chinese garbled characters in PHPmailer example code of batch mail sending: phpmailer usage: php example of phpMailer sending mail using phpmailer simple openvpn user authentication code PHPMailer Chinese instructions examples of sending mail using phpmailer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.