Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.51 KB

File metadata and controls

31 lines (22 loc) · 1.51 KB

SquidStd.Mail.Abstractions

Mail contracts for SquidStd: the MailMessage model, the MailReceivedEvent, the IMailReader interface, and the plain MailOptions.

Install

dotnet add package SquidStd.Mail.Abstractions

Key types

Type Purpose
MailMessage Parsed email (headers, bodies, attachments, optional raw .eml).
MailReceivedEvent Published on the event bus per new message.
IMailReader Fetches new messages from a mailbox.
MailOptions Host/port/credentials, protocol, polling and fetch options.
IMailSender Sends outbound email.
OutgoingMailMessage An email to send (recipients, subject, bodies, attachments).
SmtpOptions SMTP host/port/SSL/credentials and a default sender.
MailSentEvent / MailSendFailedEvent Published on the event bus on send success/failure.

Related

License

MIT - part of SquidStd.