| |

VerySource

 Forgot password?
 Register
Search
View: 1407|Reply: 5

The header of the mail sent by mail () is garbled, and the body encoding is normal?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-10 16:00:01
| Show all posts |Read mode
Please advise!
Reply

Use magic Report

0

Threads

27

Posts

18.00

Credits

Newbie

Rank: 1

Credits
18.00

 China

Post time: 2020-4-15 08:15:01
| Show all posts
Add charset to the email header
Reply

Use magic Report

0

Threads

24

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-4-21 16:45:02
| Show all posts
I have encountered this problem ~~ Finally it was forced to change to English title. ..
I also want to know ...
Reply

Use magic Report

0

Threads

24

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-7-20 07:30:01
| Show all posts
Seems to need this function!
mb_encode_mimeheader()
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 09:00:02
| Show all posts
that's it:
$subject = "=?UTF-8?B?".base64_encode($subject)."?=";
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-23 09:15:01
| Show all posts
$subject="=?GB2312?B?".base64_encode($subject)."?=";
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list