Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCancelCommand ¶
NewCancelCommand creates the cancel command
Types ¶
type ContentData ¶
ContentData holds the processed email content
type RecipientData ¶
type RecipientData struct {
Email string `json:"email"`
Name string `json:"name,omitempty"`
Substitutions map[string]interface{} `json:"substitutions,omitempty"`
}
RecipientData represents a single recipient with their email, name and substitution data
type SendFlags ¶
type SendFlags struct {
// Basic email parameters
FromEmail string
ToEmails []string
RecipientsFile string
Subject string
// Content options
TextContent string
HtmlContent string
AmpContent string
// Template files
TextTemplate string
HtmlTemplate string
AmpTemplate string
// Substitutions
GlobalSubstitutionsFile string
// Advanced options
CustomHeaders []string
ScheduleTime string
Sandbox bool
SandboxResult string
Tags []string
IdempotencyKey string
TrackOpens bool
TrackClicks bool
Attachments []string
// Batch operation options
ShowProgress bool
MaxConcurrency int
MaxRetries int
ShowMetrics bool
DebugMode bool
}
SendFlags holds all the parsed flags for the send command
Click to show internal directories.
Click to hide internal directories.