Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailData ¶
type EmailData struct {
/*
Namespace that sending the email.
In "configservice" mode: this namespace is used to fetch the email sender configuration from Config Service.
*/
Namespace string
/*
From Email Address.
In "configservice" mode: from-address already configured in Config Service,
but this field could be used to replace it if necessary.
*/
From string
/*
From Name.
In "configservice" mode: from-name already configured in Config Service,
but this field could be used to replace it if necessary.
*/
FromName string
To string
Subject string
ReplyTo string
XMCTemplate string
XMCMergeVars map[string]interface{}
Categories []string
// CarbonCopy current this only supported for sendgrid and would need further update for mandrill
CarbonCopy []string
}
func (*EmailData) SetTemplateAdditionalData ¶
func (d *EmailData) SetTemplateAdditionalData()
Click to show internal directories.
Click to hide internal directories.