RepositorySwiftCNTrung Quốc
ON

onevcat/Hedwig

Send email to any SMTP server like a boss, in Swift and cross-platform

1.1ksao
68fork
8issue
0lượt xem

📧 Hedwig — Gửi email qua SMTP trong Swift như một nhà thần hiếu

Gửi email bất kể server nào, dùng Swift, chạy mọi nơi.

Hedwig là một gói Swift cung cấp các API ở cấp độ cao để gửi email qua máy chủ SMTP một cách dễ dàng. Nếu bạn đang lên kế hoạch gửi email từ ứng dụng máy chủ Swift tiếp theo của mình, Hedwig có thể là lựa chọn phù hợp.

✨ Điểm nổi bật

  • Kết nối mọi server SMTP: Hỗ trợ cổng không mã hóa, SSL hoặc TLS (STARTTLS).
  • Xác thực đa phương thức: Hỗ trợ PLAIN, CRAM-MD5, LOGIN và XOAUTH2.
  • Nội dung HTML + tệp đính kèm: Gửi email có thân HTML và file đính kèm.
  • Tùy chỉnh header và xác thực: Hỗ trợ theo dõi chiến dịch qua header tùy biến.
  • Gửi hàng đợi không chặn: Gửi email bất đồng bộ, hỗ trợ gửi đồng thời.
  • Cross-platform + SPM: Tích hợp với Swift Package Manager, chạy trên macOS và Linux.
  • Được kiểm thử đầy đủ: Toàn bộ thư viện được test và tài liệu hóa rõ rệt.

💡 Vì sao đáng chú ý

Không chỉ là một wrapper đơn giản cho giao thức SMTP, Hedwig còn xây dựện một lớp trừu tượng cao cấp, cho phép người dùng dễ dàng cấu hình bảo mật, xác thực và nội dung email mà không cần viết thủ công bất kỳ lệnh nào. Đặc biệt, tính năng gửi hàng đợi và xử lý đồng thời giúp ứng dụng server không bị chặn khi gửi số lượng lớn email.


#Swift #SMTP #Email #OpenSource #CrossPlatform #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
stalwartlabs/stalwart

All-in-one Mail & Collaboration server. Secure, scalable and fluent in every protocol (IMAP, JMAP, SMTP, CalDAV, CardDAV, WebDAV).

16.7k
Dec 1, 2026
RepositoryGo
Billionmail/BillionMail

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

16.5k
Jun 11, 2026
RepositoryPython
mail-in-a-box/mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

15.5k
Nov 8, 2026
RepositoryRuby
sj26/mailcatcher

Catches mail and serves it through a dream.

6.8k
Nov 10, 2026
RepositorySwift
vapor/vapor

💧 A server-side Swift HTTP web framework.

26.2k
Nov 24, 2026
RepositoryTypeScript
ionic-team/capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

17.2k
Nov 28, 2026
RepositoryRuby
postalserver/postal

📮 A fully featured open source mail delivery platform for incoming & outgoing e-mail

17.0k
Nov 20, 2026
RepositoryPython
Mailu/Mailu

Insular email distribution - mail server as Docker images

7.6k
Nov 29, 2026
RepositoryGo
foxcpp/maddy

✉️ Composable all-in-one mail server.

6.1k
Nov 21, 2026