Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidationAddress ¶
ValidationAddress Returns default validation address for this domain submission.
Types ¶
type BlacklistRequest ¶
type BlacklistRequest struct { Reason string Timestamp string Recipients Recipients Raw string }
BlacklistRequest represents a submission for a particular email address to be blacklisted.
func (*BlacklistRequest) UnmarshalJSON ¶
func (r *BlacklistRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON wrangles the JSON posted by AWS SNS into something easier to access and generalized across notification types.
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config stores variables needed to submit emails for sending, as well as to generate the templates.
func MakeConfigFromEnv ¶
MakeConfigFromEnv initializes our email config object with environment variables.
type Recipients ¶
type Recipients []struct { EmailAddress string `json:"emailAddress"` }
Recipients lists the email addresses that have triggered a bounce or complaint.
Click to show internal directories.
Click to hide internal directories.