[GH-ISSUE #389] 标题和邮件正文为中文时都是乱码 #255

Closed
opened 2026-03-15 13:28:07 +03:00 by kerem · 4 comments
Owner

Originally created by @tqangxl on GitHub (Nov 18, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/389

标题和邮件正文为中文时都是乱码
Subject =?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?=

UTF-8? gbk?
image
附件能不能在下载的旁边加个查看的选项,不用下载直接浏览器查看所点击的附件

Originally created by @tqangxl on GitHub (Nov 18, 2024). Original GitHub issue: https://github.com/axllent/mailpit/issues/389 标题和邮件正文为中文时都是乱码 Subject =?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?= UTF-8? gbk? ![image](https://github.com/user-attachments/assets/9c670ef5-8fb7-4e09-9117-17d505e55f98) 附件能不能在下载的旁边加个查看的选项,不用下载直接浏览器查看所点击的附件
kerem 2026-03-15 13:28:07 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@axllent commented on GitHub (Nov 18, 2024):

I am sorry but I don't speak or understand Chinese. Based on Google translate however you have two questions:

  1. Is your email & subject properly encoded (UTF8 / base64)? =?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?= is the same as Oracle??????????? so I do not understand what you expect. Does this work in any other email client correctly? It is my understanding that you will need to use UTF-8. Maybe you could take a look at https://dencode.com/string/quoted-printable to test.
  2. Your browser can only open the file formats it supports - if the browser does not support the format (eg: .man) then it will try download the file instead. Mailpit does not convert attachment formats into something your browser can understand (there are literally thousands of file formats).
<!-- gh-comment-id:2482310713 --> @axllent commented on GitHub (Nov 18, 2024): I am sorry but I don't speak or understand Chinese. Based on Google translate however you have two questions: 1. Is your email & subject properly encoded (UTF8 / base64)? `=?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?=` is the same as `Oracle???????????` so I do not understand what you expect. Does this work in any other email client correctly? It is my understanding that you will need to use UTF-8. Maybe you could take a look at https://dencode.com/string/quoted-printable to test. 2. Your browser can only open the file formats it supports - if the browser does not support the format (eg: .man) then it will try download the file instead. Mailpit does not convert attachment formats into something your browser can understand (there are literally thousands of file formats).
Author
Owner

@szsyzx commented on GitHub (Nov 22, 2024):

标题和邮件正文为中文时都是乱码 Subject =?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?=主题 =?us-ascii? Q? 神谕者=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?=

UTF-8? gbk? UTF-8 格式?gbk? image 附件能不能在下载的旁边加个查看的选项,不用下载直接浏览器查看所点击的附件

兄弟你是怎么搭建的呢,是在linux下还是

<!-- gh-comment-id:2492636964 --> @szsyzx commented on GitHub (Nov 22, 2024): > 标题和邮件正文为中文时都是乱码 Subject =?us-ascii?Q?Oracle=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?=主题 =?us-ascii? Q? 神谕者=3F=3F=3F=3F=3F=3F=3F=3F=3F=3F?= > > UTF-8? gbk? UTF-8 格式?gbk? ![image](https://private-user-images.githubusercontent.com/9669944/387128589-9c670ef5-8fb7-4e09-9117-17d505e55f98.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzIyMzYxNzYsIm5iZiI6MTczMjIzNTg3NiwicGF0aCI6Ii85NjY5OTQ0LzM4NzEyODU4OS05YzY3MGVmNS04ZmI3LTRlMDktOTExNy0xN2Q1MDVlNTVmOTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MTEyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDExMjJUMDAzNzU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2M5NWNmNmJiZmFmNzk3NDY2NjExNWFkMmYzYWNkYjkwMTk1NzdkZWNlNzNkM2MxNzM0NWE5Yjc1NzQzMjU2NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IyMJsu-jxJPxFIxZGxjIEBRHWXnVMKx8TJ94eMsPsIA) 附件能不能在下载的旁边加个查看的选项,不用下载直接浏览器查看所点击的附件 兄弟你是怎么搭建的呢,是在linux下还是
Author
Owner

@github-actions[bot] commented on GitHub (Nov 29, 2024):

This issue has been marked as stale because it has been open for 7 days with no activity.

<!-- gh-comment-id:2506996496 --> @github-actions[bot] commented on GitHub (Nov 29, 2024): This issue has been marked as stale because it has been open for 7 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 3, 2024):

This issue was closed because there has been no activity since being marked as stale.

<!-- gh-comment-id:2513380977 --> @github-actions[bot] commented on GitHub (Dec 3, 2024): This issue was closed because there has been no activity since being marked as stale.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#255
No description provided.