package
5.4.0+incompatible
Repository: https://github.com/mr55p-dev/pagemail.git
Documentation: pkg.go.dev
# Functions
DigestJob collects all subscribed users, their pages between 24 hours ago and now, and then sends them.
MailGo starts a goroutine on a timer to send emails to all subscribed users every 24 hours at 7 am.
No description provided by the author
No description provided by the author
SendUserDigest fetches the users pages, constructs an email and sends it via the sender interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Email address to send mail from.
Email address to send mail from.
No description provided by the author
No description provided by the author
Email address to send mail from.
Email address to send mail from.
# Structs
AwsSender implements the MailSender interface using AWS SES SDK.
No description provided by the author
NoOpSender implements MailSender for tests.
# Interfaces
Sender allows for different implementations of email clients using a send method.
# Type aliases
No description provided by the author