[GH-ISSUE #219] [BUG]通过wordpress使用smtp发邮件时报错 #70

Closed
opened 2026-02-26 20:35:29 +03:00 by kerem · 10 comments
Owner

Originally created by @KunBuFenZi on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/219

复现步骤

wp mail smtp插件进行发件测试 smtp服务端收到请求 但报错2024-05-09 08:27:14,128 - main - ERROR - Failed to send mail code=[500] text=[Internal Server Error],不过实际上发送成功,且tempmail站里有记录

预期行为

应无报错

部署方式

  • [*] cli 部署(smtp直接运行的py源码)
  • 用户界面部署

浏览器环境

edge 124.0.2478.80 (正式版本) (64 位)

Originally created by @KunBuFenZi on GitHub (May 9, 2024). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/219 ## 复现步骤 wp mail smtp插件进行发件测试 smtp服务端收到请求 但报错2024-05-09 08:27:14,128 - __main__ - ERROR - Failed to send mail code=[500] text=[Internal Server Error],不过实际上发送成功,且tempmail站里有记录 ## 预期行为 应无报错 ## 部署方式 - [*] cli 部署(smtp直接运行的py源码) - [ ] 用户界面部署 ## 浏览器环境 edge 124.0.2478.80 (正式版本) (64 位)
kerem closed this issue 2026-02-26 20:35:29 +03:00
Author
Owner

@dreamhunter2333 commented on GitHub (May 9, 2024):

可以看下 worker 后台的日志么

<!-- gh-comment-id:2102714088 --> @dreamhunter2333 commented on GitHub (May 9, 2024): 可以看下 worker 后台的日志么
Author
Owner

@KunBuFenZi commented on GitHub (May 9, 2024):

可以看下 worker 后台的日志么

看了下 worker好像不记录历史日志 然后我部署wp的那台机子今天被我玩崩了 得等老师去那边开机 开机了我一定第一时间试一下

<!-- gh-comment-id:2103019484 --> @KunBuFenZi commented on GitHub (May 9, 2024): > 可以看下 worker 后台的日志么 看了下 worker好像不记录历史日志 然后我部署wp的那台机子今天被我玩崩了 得等老师去那边开机 开机了我一定第一时间试一下
Author
Owner

@KunBuFenZi commented on GitHub (May 10, 2024):

下面是worker的日志(把ip删了)
{ "outcome": "ok", "scriptVersion": { "id": "32242c1c-a8a0-4fb3-aa80-f65cc8aeb9ce" }, "scriptName": "cloudflare_temp_email", "diagnosticsChannelEvents": [], "exceptions": [], "logs": [ { "message": [ "202 Accepted: null\n" ], "level": "log", "timestamp": 1715331393106 }, { "message": [ "Error: Context is not finalized. You may forget returning Response object or await next()" ], "level": "error", "timestamp": 1715331393639 } ], "eventTimestamp": 1715331391554, "event": { "request": { "url": "https://tempapi.kbfz.cc/external/api/send_mail", "method": "POST", "headers": { "accept": "*/*", "accept-encoding": "gzip, br", "cf-connecting-ip": "", "cf-ipcountry": "JP", "cf-ray": "8818b76d1ecc7362", "cf-visitor": "{\"scheme\":\"https\"}", "connection": "Keep-Alive", "content-length": "3010", "content-type": "application/json", "host": "tempapi.kbfz.cc", "user-agent": "python-requests/2.31.0", "x-forwarded-proto": "https", "x-real-ip": "" }, "cf": { "clientTcpRtt": 1, "longitude": "139.68990", "httpProtocol": "HTTP/1.1", "tlsCipher": "AEAD-AES256-GCM-SHA384", "continent": "AS", "asn": 61112, "clientAcceptEncoding": "gzip, deflate", "country": "JP", "tlsClientExtensionsSha1": "tlH5gnoC5Z1HF45J5OgHEi338V0=", "verifiedBotCategory": "", "tlsClientAuth": { "certIssuerDNLegacy": "", "certIssuerSKI": "", "certSubjectDNRFC2253": "", "certSubjectDNLegacy": "", "certFingerprintSHA256": "", "certNotBefore": "", "certSKI": "", "certSerial": "", "certIssuerDN": "", "certVerified": "NONE", "certNotAfter": "", "certSubjectDN": "", "certPresented": "0", "certRevoked": "0", "certIssuerSerial": "", "certIssuerDNRFC2253": "", "certFingerprintSHA1": "" }, "tlsExportedAuthenticator": { "clientFinished": "398d60001435a5a295c31346e912e3be6707453eb002aa6cad0a9781946afe5baecc5eb9bbb8e153e50f9f3132f3f3a7", "clientHandshake": "fdfdda96a1c5adb0cbbbd3025d2876a8fa47cc890eff8a6ac769bb4961419fd822e40a5d1f32558e1bd5078f47d9314f", "serverHandshake": "e7663a377281e89be9493d3f46ef1c2f63d6116b963c3161ceebcbe094eeede78d1c3d7749f94caa0e536dc33e5388eb", "serverFinished": "6db536130d81f01d2a456fe7e5bb344711715b057975fdd6aa75fb6be928e6c02ffaa721e573d9ae930e49f8ed5e241f" }, "tlsVersion": "TLSv1.3", "city": "Tokyo", "timezone": "Asia/Tokyo", "colo": "NRT", "tlsClientHelloLength": "508", "edgeRequestKeepAliveStatus": 1, "postalCode": "151-0053", "region": "Tokyo", "latitude": "35.68930", "requestPriority": "", "regionCode": "13", "asOrganization": "Akile", "tlsClientRandom": "+5lLQtJL91ltM7lxrLeNJJfcvq464DzY5x1CftIzow4=" } }, "response": { "status": 500 } }, "id": 0 }

此外 还有一个问题 就是wordpress走这里的smtp好像会乱码 而走正常的邮箱smtp不会 下面是同一封邮件走本项目smtp和QQ邮箱smtp发出的内容对比

QQ:
image

本项目:
image

<!-- gh-comment-id:2104235638 --> @KunBuFenZi commented on GitHub (May 10, 2024): 下面是worker的日志(把ip删了) `{ "outcome": "ok", "scriptVersion": { "id": "32242c1c-a8a0-4fb3-aa80-f65cc8aeb9ce" }, "scriptName": "cloudflare_temp_email", "diagnosticsChannelEvents": [], "exceptions": [], "logs": [ { "message": [ "202 Accepted: null\n" ], "level": "log", "timestamp": 1715331393106 }, { "message": [ "Error: Context is not finalized. You may forget returning Response object or `await next()`" ], "level": "error", "timestamp": 1715331393639 } ], "eventTimestamp": 1715331391554, "event": { "request": { "url": "https://tempapi.kbfz.cc/external/api/send_mail", "method": "POST", "headers": { "accept": "*/*", "accept-encoding": "gzip, br", "cf-connecting-ip": "", "cf-ipcountry": "JP", "cf-ray": "8818b76d1ecc7362", "cf-visitor": "{\"scheme\":\"https\"}", "connection": "Keep-Alive", "content-length": "3010", "content-type": "application/json", "host": "tempapi.kbfz.cc", "user-agent": "python-requests/2.31.0", "x-forwarded-proto": "https", "x-real-ip": "" }, "cf": { "clientTcpRtt": 1, "longitude": "139.68990", "httpProtocol": "HTTP/1.1", "tlsCipher": "AEAD-AES256-GCM-SHA384", "continent": "AS", "asn": 61112, "clientAcceptEncoding": "gzip, deflate", "country": "JP", "tlsClientExtensionsSha1": "tlH5gnoC5Z1HF45J5OgHEi338V0=", "verifiedBotCategory": "", "tlsClientAuth": { "certIssuerDNLegacy": "", "certIssuerSKI": "", "certSubjectDNRFC2253": "", "certSubjectDNLegacy": "", "certFingerprintSHA256": "", "certNotBefore": "", "certSKI": "", "certSerial": "", "certIssuerDN": "", "certVerified": "NONE", "certNotAfter": "", "certSubjectDN": "", "certPresented": "0", "certRevoked": "0", "certIssuerSerial": "", "certIssuerDNRFC2253": "", "certFingerprintSHA1": "" }, "tlsExportedAuthenticator": { "clientFinished": "398d60001435a5a295c31346e912e3be6707453eb002aa6cad0a9781946afe5baecc5eb9bbb8e153e50f9f3132f3f3a7", "clientHandshake": "fdfdda96a1c5adb0cbbbd3025d2876a8fa47cc890eff8a6ac769bb4961419fd822e40a5d1f32558e1bd5078f47d9314f", "serverHandshake": "e7663a377281e89be9493d3f46ef1c2f63d6116b963c3161ceebcbe094eeede78d1c3d7749f94caa0e536dc33e5388eb", "serverFinished": "6db536130d81f01d2a456fe7e5bb344711715b057975fdd6aa75fb6be928e6c02ffaa721e573d9ae930e49f8ed5e241f" }, "tlsVersion": "TLSv1.3", "city": "Tokyo", "timezone": "Asia/Tokyo", "colo": "NRT", "tlsClientHelloLength": "508", "edgeRequestKeepAliveStatus": 1, "postalCode": "151-0053", "region": "Tokyo", "latitude": "35.68930", "requestPriority": "", "regionCode": "13", "asOrganization": "Akile", "tlsClientRandom": "+5lLQtJL91ltM7lxrLeNJJfcvq464DzY5x1CftIzow4=" } }, "response": { "status": 500 } }, "id": 0 }` 此外 还有一个问题 就是wordpress走这里的smtp好像会乱码 而走正常的邮箱smtp不会 下面是同一封邮件走本项目smtp和QQ邮箱smtp发出的内容对比 QQ: ![image](https://github.com/dreamhunter2333/cloudflare_temp_email/assets/63092147/a20b782b-5583-4b98-bfd5-4b1624f83fd2) 本项目: ![image](https://github.com/dreamhunter2333/cloudflare_temp_email/assets/63092147/50b27f07-7d63-4cf7-a2cd-d3825eb71057)
Author
Owner

@dreamhunter2333 commented on GitHub (May 10, 2024):

我修复下,代码有些问题,邮件乱码看起来是变成 Unicode 了,我测试下

<!-- gh-comment-id:2104610948 --> @dreamhunter2333 commented on GitHub (May 10, 2024): 我修复下,代码有些问题,邮件乱码看起来是变成 Unicode 了,我测试下
Author
Owner

@dreamhunter2333 commented on GitHub (May 10, 2024):

临时加了下 decode 不同 charset 的代码,可以再测试下

<!-- gh-comment-id:2104888072 --> @dreamhunter2333 commented on GitHub (May 10, 2024): 临时加了下 decode 不同 charset 的代码,可以再测试下
Author
Owner

@KunBuFenZi commented on GitHub (May 11, 2024):

换了新的server.py但是 依旧发出的还是乱码
2024-05-11 04:16:49,411 - main - INFO - Starting server settings[proxy_url='xxx' port=8025]
2024-05-11 04:17:19,488 - mail.log - WARNING - Session.login_data is deprecated and will be removed in version 2.0
2024-05-11 04:17:19,761 - main - INFO - handle_DATA from admin@gpus.top to ['xxx']
2024-05-11 04:17:19,763 - main - INFO - Parsed mail from 智慧教师 to {'xxx': ''}
2024-05-11 04:17:19,763 - main - INFO - Send mail {'token': '***', 'from_name': '智慧教师', 'to_name': '', 'to_mail': 'xxx', 'subject': '[智慧教师] 测试邮件', 'is_html': True, 'content': '\r\n\t

\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n \r\n\t\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\u60a8\u597d\uff01
\u8fd9\u662f\u4e00\u5c01\u6765\u81ea\u667a\u6167\u6559\u5e08[https://test.gpus.top]\u7684\u6d4b\u8bd5\u90ae\u4ef6
\u8be5\u90ae\u4ef6\u7531\u7f51\u7ad9\u540e\u53f0\u53d1\u51fa\uff0c\u5982\u679c\u975e\u60a8\u672c\u4eba\u64cd\u4f5c\uff0c\u8bf7\u5ffd\u7565\u6b64\u90ae\u4ef6
2024-05-11 16:17:19\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\u667a\u6167\u6559\u5e08
\r\n\t\t\t\t\t
\u6b64\u4fe1\u4e3a\u7cfb\u7edf\u90ae\u4ef6\uff0c\u8bf7\u4e0d\u8981\u76f4\u63a5\u56de\u590d\u3002
\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\t\r\n\r\n'}
2024-05-11 04:17:22,037 - main - ERROR - Failed to send mail code=[500] text=[Internal Server Error]

image
image

<!-- gh-comment-id:2105630979 --> @KunBuFenZi commented on GitHub (May 11, 2024): 换了新的server.py但是 依旧发出的还是乱码 2024-05-11 04:16:49,411 - __main__ - INFO - Starting server settings[proxy_url='xxx' port=8025] 2024-05-11 04:17:19,488 - mail.log - WARNING - Session.login_data is deprecated and will be removed in version 2.0 2024-05-11 04:17:19,761 - __main__ - INFO - handle_DATA from admin@gpus.top to ['xxx'] 2024-05-11 04:17:19,763 - __main__ - INFO - Parsed mail from 智慧教师 to {'xxx': ''} 2024-05-11 04:17:19,763 - __main__ - INFO - Send mail {'token': '***', 'from_name': '智慧教师', 'to_name': '', 'to_mail': 'xxx', 'subject': '[智慧教师] 测试邮件', 'is_html': True, 'content': '<style>\r\n\t\t.zibll-email-box .but{\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tborder-radius: 4px;\r\n\t\t\tpadding: 5px 22px;\r\n\t\t\ttext-align: center;\r\n\t\t\tbackground: linear-gradient(135deg, #59c3fb 10%, #268df7 100%) !important;\r\n\t\t\tcolor: #fff !important;\r\n line-height: 1.4;\r\n\t\t\ttext-decoration: none;\r\n\t\t}\r\n\t\t.zibll-email-box img{\r\n\t\t\tmax-width: 100%;\r\n\t\t}\r\n .zibll-email-box img.smilie-icon{\r\n\t\t\tmax-width: 2em;\r\n\t\t}\r\n\t\t.zibll-email-box a{\r\n\t\t\ttext-decoration: none !important;\r\n\t\t}\r\n\t</style>\r\n\t<div class="zibll-email-box" style="background:#ecf1f3;padding:2%;">\r\n\t\t<div style="max-width:701px;height:auto; margin:0px auto;background: #fff;box-shadow: 6px 3px 5px rgba(0,0,0,0.05);-webkit-box-shadow: 6px 3px 10px rgba(0,0,0,0.05);-moz-box-shadow: 6px 3px 5px rgba(0,0,0,0.05);-ms-box-shadow: 6px 3px 5px rgba(0,0,0,0.05);-o-box-shadow: 6px 3px 5px rgba(0,0,0,0.05);">\r\n\t\t\t<div style="">\r\n\t\t\t\t<div style="padding-top: 50px;max-width:200px;width: 40%; margin:auto;">\r\n <img style="width: 100%;height: auto;" src="https://test.gpus.top/wp-content/themes/zibll/img/logo.png">\r\n\t\t\t\t</div>\r\n\t\t\t\t<div style="color:#55798d;padding: 40px 10%;"><br>\r\n\t\t\t\t\t<div style="overflow-wrap:break-word;line-height:30px;font-size: 14px;">\r\n\t\t\t\t\t\\u60a8\\u597d\\uff01 <br />\\u8fd9\\u662f\\u4e00\\u5c01\\u6765\\u81ea\\u667a\\u6167\\u6559\\u5e08[https://test.gpus.top]\\u7684\\u6d4b\\u8bd5\\u90ae\\u4ef6<br />\\u8be5\\u90ae\\u4ef6\\u7531\\u7f51\\u7ad9\\u540e\\u53f0\\u53d1\\u51fa\\uff0c\\u5982\\u679c\\u975e\\u60a8\\u672c\\u4eba\\u64cd\\u4f5c\\uff0c\\u8bf7\\u5ffd\\u7565\\u6b64\\u90ae\\u4ef6 <br />2024-05-11 16:17:19\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t\t<div style="border-top:2px dashed rgba(125, 136, 140, 0.15);">\r\n\t\t\t\t<div style="color:#507383;font-size:14px;line-height: 1.4;padding: 40px 10%;">\r\n\t\t\t\t\t<div style="font-size: 20px;font-weight: bold;">\\u667a\\u6167\\u6559\\u5e08</div>\r\n\t\t\t\t\t<div style="margin:20px 0;color: #6a8895;min-height:4.2em;white-space: pre-wrap;">\\u6b64\\u4fe1\\u4e3a\\u7cfb\\u7edf\\u90ae\\u4ef6\\uff0c\\u8bf7\\u4e0d\\u8981\\u76f4\\u63a5\\u56de\\u590d\\u3002</div>\r\n\t\t\t\t\t<div style=""><a href="https://test.gpus.top">\\u8bbf\\u95ee\\u7f51\\u7ad9</a> |\r\n<a href="#">\\u8054\\u7cfb\\u7ad9\\u957f</a></div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<img src="https://test.gpus.top/wp-content/themes/zibll/img/mail-bg.png?ver=7.5.1" style="width: 100%;height: auto;">\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n\t\r\n\r\n'} 2024-05-11 04:17:22,037 - __main__ - ERROR - Failed to send mail code=[500] text=[Internal Server Error] ![image](https://github.com/dreamhunter2333/cloudflare_temp_email/assets/63092147/81028cf7-1366-4eb3-9122-2d295ffe9ea8) ![image](https://github.com/dreamhunter2333/cloudflare_temp_email/assets/63092147/bb838498-965f-4640-b6bc-a6bb32705203)
Author
Owner

@dreamhunter2333 commented on GitHub (May 11, 2024):

换了新的server.py但是 依旧发出的还是乱码 2024-05-11 04:16:49,411 - main - INFO - Starting server settings[proxy_url='xxx' port=8025] 2024-05-11 04:17:19,488 - mail.log - WARNING - Session.login_data is deprecated and will be removed in version 2.0 2024-05-11 04:17:19,761 - main - INFO - handle_DATA from admin@gpus.top to ['xxx'] 2024-05-11 04:17:19,763 - main - INFO - Parsed mail from 智慧教师 to {'xxx': ''} 2024-05-11 04:17:19,763 - main - INFO - Send mail {'token': '***', 'from_name': '智慧教师', 'to_name': '', 'to_mail': 'xxx', 'subject': '[智慧教师] 测试邮件', 'is_html': True, 'content': '\r\n\t

\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n \r\n\t\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\u60a8\u597d\uff01
\u8fd9\u662f\u4e00\u5c01\u6765\u81ea\u667a\u6167\u6559\u5e08[https://test.gpus.top]\u7684\u6d4b\u8bd5\u90ae\u4ef6
\u8be5\u90ae\u4ef6\u7531\u7f51\u7ad9\u540e\u53f0\u53d1\u51fa\uff0c\u5982\u679c\u975e\u60a8\u672c\u4eba\u64cd\u4f5c\uff0c\u8bf7\u5ffd\u7565\u6b64\u90ae\u4ef6
2024-05-11 16:17:19\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\u667a\u6167\u6559\u5e08
\r\n\t\t\t\t\t
\u6b64\u4fe1\u4e3a\u7cfb\u7edf\u90ae\u4ef6\uff0c\u8bf7\u4e0d\u8981\u76f4\u63a5\u56de\u590d\u3002
\r\n\t\t\t\t\t
\u8bbf\u95ee\u7f51\u7ad9 |\r\n\u8054\u7cfb\u7ad9\u957f
\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\t\r\n\r\n'}
2024-05-11 04:17:22,037 - main - ERROR - Failed to send mail code=[500] text=[Internal Server Error]
image image

看起来是编码问题,我复现下看看怎么修复

<!-- gh-comment-id:2105935231 --> @dreamhunter2333 commented on GitHub (May 11, 2024): > 换了新的server.py但是 依旧发出的还是乱码 2024-05-11 04:16:49,411 - **main** - INFO - Starting server settings[proxy_url='xxx' port=8025] 2024-05-11 04:17:19,488 - mail.log - WARNING - Session.login_data is deprecated and will be removed in version 2.0 2024-05-11 04:17:19,761 - **main** - INFO - handle_DATA from [admin@gpus.top](mailto:admin@gpus.top) to ['xxx'] 2024-05-11 04:17:19,763 - **main** - INFO - Parsed mail from 智慧教师 to {'xxx': ''} 2024-05-11 04:17:19,763 - **main** - INFO - Send mail {'token': '***', 'from_name': '智慧教师', 'to_name': '', 'to_mail': 'xxx', 'subject': '[智慧教师] 测试邮件', 'is_html': True, 'content': '<style>\r\n\t\t.zibll-email-box .but{\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tborder-radius: 4px;\r\n\t\t\tpadding: 5px 22px;\r\n\t\t\ttext-align: center;\r\n\t\t\tbackground: linear-gradient(135deg, #59c3fb 10%, #268df7 100%) !important;\r\n\t\t\tcolor: #fff !important;\r\n line-height: 1.4;\r\n\t\t\ttext-decoration: none;\r\n\t\t}\r\n\t\t.zibll-email-box img{\r\n\t\t\tmax-width: 100%;\r\n\t\t}\r\n .zibll-email-box img.smilie-icon{\r\n\t\t\tmax-width: 2em;\r\n\t\t}\r\n\t\t.zibll-email-box a{\r\n\t\t\ttext-decoration: none !important;\r\n\t\t}\r\n\t</style>\r\n\t > > \r\n\t\t > \r\n\t\t\t > \r\n\t\t\t\t > \r\n ![](https://camo.githubusercontent.com/d743a452d2fc7816707497dbe344364d25a4276ba2d8ace6d2fea4f16ab00bd5/68747470733a2f2f746573742e677075732e746f702f77702d636f6e74656e742f7468656d65732f7a69626c6c2f696d672f6c6f676f2e706e67)\r\n\t\t\t\t > \r\n\t\t\t\t > > \r\n\t\t\t\t\t > \r\n\t\t\t\t\t\u60a8\u597d\uff01 > \u8fd9\u662f\u4e00\u5c01\u6765\u81ea\u667a\u6167\u6559\u5e08[https://test.gpus.top]\u7684\u6d4b\u8bd5\u90ae\u4ef6 > \u8be5\u90ae\u4ef6\u7531\u7f51\u7ad9\u540e\u53f0\u53d1\u51fa\uff0c\u5982\u679c\u975e\u60a8\u672c\u4eba\u64cd\u4f5c\uff0c\u8bf7\u5ffd\u7565\u6b64\u90ae\u4ef6 > 2024-05-11 16:17:19\r\n\t\t\t\t\t > \r\n\t\t\t\t > \r\n\t\t\t > \r\n\t\t\t > \r\n\t\t\t\t > \r\n\t\t\t\t\t > \u667a\u6167\u6559\u5e08 > \r\n\t\t\t\t\t > \u6b64\u4fe1\u4e3a\u7cfb\u7edf\u90ae\u4ef6\uff0c\u8bf7\u4e0d\u8981\u76f4\u63a5\u56de\u590d\u3002 > \r\n\t\t\t\t\t > [\u8bbf\u95ee\u7f51\u7ad9](https://test.gpus.top) |\r\n[\u8054\u7cfb\u7ad9\u957f](#) > \r\n\t\t\t\t > \r\n\t\t\t\t![](https://camo.githubusercontent.com/5a72fb6efcafd79367a84c1e35d2b917e7dda21505946da706596daece6505d2/68747470733a2f2f746573742e677075732e746f702f77702d636f6e74656e742f7468656d65732f7a69626c6c2f696d672f6d61696c2d62672e706e673f7665723d372e352e31)\r\n\t\t\t > \r\n\t\t > \r\n\t > \r\n\t\r\n\r\n'} > 2024-05-11 04:17:22,037 - **main** - ERROR - Failed to send mail code=[500] text=[Internal Server Error] > ![image](https://private-user-images.githubusercontent.com/63092147/329766005-81028cf7-1366-4eb3-9122-2d295ffe9ea8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU0NDIwODYsIm5iZiI6MTcxNTQ0MTc4NiwicGF0aCI6Ii82MzA5MjE0Ny8zMjk3NjYwMDUtODEwMjhjZjctMTM2Ni00ZWIzLTkxMjItMmQyOTVmZmU5ZWE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTExVDE1MzYyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQzOGUyNDc5ZDZhN2UzYTIxMGVhZGIwMDcxOWRmYTRhNTVjYmQ1OThkY2ZmNDVkNDBiYjk1Yzg5NWNkZjlhNGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eud27PNSWeF3SAHN7Ksz4UuqziGbzoBw1bceOyewkx4) ![image](https://private-user-images.githubusercontent.com/63092147/329766023-bb838498-965f-4640-b6bc-a6bb32705203.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTU0NDIwODYsIm5iZiI6MTcxNTQ0MTc4NiwicGF0aCI6Ii82MzA5MjE0Ny8zMjk3NjYwMjMtYmI4Mzg0OTgtOTY1Zi00NjQwLWI2YmMtYTZiYjMyNzA1MjAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTExVDE1MzYyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3OTBiMjY3NTJhOGU5ZTNmZTg0YzgzYTEyYWY4NDE2ZTVlOWU3ZmQzYzY4ZDY1YTcwMjg3MDEyNGQxMjRhODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wdI-A-SNPREjDcVa5TJVHFpPJgNU9qVhAH7u2AsO2ag) 看起来是编码问题,我复现下看看怎么修复
Author
Owner

@dreamhunter2333 commented on GitHub (May 16, 2024):

更新了main分支的代码,我测试没问题了,麻烦测试下

<!-- gh-comment-id:2114940072 --> @dreamhunter2333 commented on GitHub (May 16, 2024): 更新了main分支的代码,我测试没问题了,麻烦测试下
Author
Owner

@KunBuFenZi commented on GitHub (May 17, 2024):

更新了main分支的代码,我测试没问题了,麻烦测试下

好的 谢谢 我今晚试试

<!-- gh-comment-id:2117451961 --> @KunBuFenZi commented on GitHub (May 17, 2024): > 更新了main分支的代码,我测试没问题了,麻烦测试下 好的 谢谢 我今晚试试
Author
Owner

@KunBuFenZi commented on GitHub (May 17, 2024):

更新了main分支的代码,我测试没问题了,麻烦测试下

可以了! 谢谢大佬!!!!!!!!!

<!-- gh-comment-id:2117629900 --> @KunBuFenZi commented on GitHub (May 17, 2024): > 更新了main分支的代码,我测试没问题了,麻烦测试下 可以了! 谢谢大佬!!!!!!!!!
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/cloudflare_temp_email#70
No description provided.