- ब्राउज़र environment (Web Workers सहित) और serverless functions (जैसे Cloudflare Email Workers) में काम करता है
- RFC822 ईमेल messages को पढ़कर headers/recipients/attachments आदि objects से बनी structured data में parse करता है
PostalMime.parse(email, options) -> Promise<ParsedEmail>
- structured object को Promise के रूप में return करता है
- सभी headers के key/value
- from, sender के name/email address
- deliveredTo, returnPath
- to, cc, bcc, replyTo
- messageId, inReplyTo, references
- date : भेजे जाने की तारीख का ISO8601 format
- html
- text
- attachments : file name, mimeType, disposition, related (inline image होने पर true), contentId, content, encoding
- EmailEngine - IMAP/SMTP को REST API के जरिए access करने वाला open source की development team ने इसे बनाया है
अभी कोई टिप्पणी नहीं है.