mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #469] [MERGED] feat: add ENABLE_CHECK_JUNK_MAIL #582
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#582
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/469
Author: @dreamhunter2333
Created: 11/6/2024
Status: ✅ Merged
Merged: 11/6/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
492c0b9feat: add ENABLE_CHECK_JUNK_MAIL📊 Changes
9 files changed (+72 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
vitepress-docs/docs/en/cli.md(+2 -0)📝
vitepress-docs/docs/zh/guide/cli/worker.md(+2 -0)📝
worker/src/admin_api/worker_config.ts(+2 -1)📝
worker/src/common.ts(+3 -1)➕
worker/src/email/check_junk.ts(+44 -0)📝
worker/src/email/index.ts(+14 -0)📝
worker/src/types.d.ts(+2 -0)📝
worker/wrangler.toml.template(+2 -0)📄 Description
User description
#435
PR Type
Enhancement, Documentation
Description
ENABLE_CHECK_JUNK_MAILconfiguration option to enable or disable junk mail checking.check_if_junk_mailto determine if an email is junk based on SPF, DKIM, and DMARC headers.Bindingstype to include theENABLE_CHECK_JUNK_MAILoption.Changes walkthrough 📝
6 files
worker_config.ts
Add junk mail check configuration optionworker/src/admin_api/worker_config.ts
ENABLE_CHECK_JUNK_MAILconfiguration option to the workerconfiguration.
common.ts
Include headers in parsed email objectworker/src/common.ts
headersfield to the parsed email object.check_junk.ts
Implement junk mail checking functionworker/src/email/check_junk.ts
check_if_junk_mailto determine if an email isjunk based on SPF, DKIM, and DMARC headers.
index.ts
Integrate junk mail checking into email processingworker/src/email/index.ts
types.d.ts
Update Bindings type with junk mail check optionworker/src/types.d.ts
ENABLE_CHECK_JUNK_MAILto theBindingstype.wrangler.toml.template
Add ENABLE_CHECK_JUNK_MAIL to configuration templateworker/wrangler.toml.template
ENABLE_CHECK_JUNK_MAILconfiguration option to the template.3 files
CHANGELOG.md
Document ENABLE_CHECK_JUNK_MAIL configuration optionCHANGELOG.md
ENABLE_CHECK_JUNK_MAILconfigurationoption.
cli.md
Add ENABLE_CHECK_JUNK_MAIL documentation in English CLI guidevitepress-docs/docs/en/cli.md
ENABLE_CHECK_JUNK_MAILconfigurationoption in the English CLI guide.
worker.md
Add ENABLE_CHECK_JUNK_MAIL documentation in Chinese CLI guidevitepress-docs/docs/zh/guide/cli/worker.md
ENABLE_CHECK_JUNK_MAILconfigurationoption in the Chinese CLI guide.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.