Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
EmailService handles PostmarkApp email operations
func NewEmailService ¶
func NewEmailService(repo repository.PostmarkRepository, queueService *service.QueueService, logger *zap.Logger) *EmailService
NewEmailService creates a new email service
func (*EmailService) SendBatchEmail ¶
func (s *EmailService) SendBatchEmail(ctx context.Context, serverID int, requests models.BatchEmailRequest) (models.BatchEmailResponse, error)
SendBatchEmail sends multiple emails
func (*EmailService) SendEmail ¶
func (s *EmailService) SendEmail(ctx context.Context, serverID int, req *models.EmailRequest) (*models.EmailResponse, error)
SendEmail sends a single email
Click to show internal directories.
Click to hide internal directories.