Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEmailProcessor ¶ added in v0.1.12
func NewEmailProcessor( repositories *repository.Repositories, eventsService *events.EventsService, aiService interfaces.AIService, ) interfaces.EmailProcessor
Types ¶
type EmailHeaders ¶ added in v0.1.13
type EmailHeaders struct {
AutoSubmitted bool
ContentDescription string
DeliveryStatus bool
ListUnsubscribe bool
Precedence string
ReturnPath string
ReturnPathExists bool
XAutoreply string
XAutoresponse string
XLoop bool
XFailedRecipients []string
ReplyTo string
ReplyToExists bool
Sender string
ForwardedFor string
DKIM []string
SPF string
DMARC string
}
type ImapProcessor ¶ added in v0.1.12
type ImapProcessor struct {
interfaces.EmailProcessor
// contains filtered or unexported fields
}
func NewImapProcessor ¶ added in v0.1.12
func NewImapProcessor( repositories *repository.Repositories, processor interfaces.EmailProcessor, imapService interfaces.IMAPService, storageService interfaces.StorageService, ) *ImapProcessor
func (*ImapProcessor) ProcessIMAPMessage ¶ added in v0.1.12
func (p *ImapProcessor) ProcessIMAPMessage(ctx context.Context, inboundEmail dto.EmailReceived) error
func (*ImapProcessor) SaveMessageAsEML ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.