Documentation ¶
Index ¶
- Variables
- func GenerateEmailContent(templateDef messagingTypes.EmailTemplate, lang string, ...) (string, string, error)
- func InitMessageSendingVariables(newClientConfig *httpclient.ClientConfig, ...)
- func QueueEmailByTemplate(instanceID string, to []string, messageType string, studyKey string, ...) error
- func SendInstantEmailByTemplate(instanceID string, to []string, messageType string, studyKey string, ...) error
- func SendOutgoingEmail(outgoing *messagingTypes.OutgoingEmail) error
- type SendEmailReq
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HttpClient *httpclient.ClientConfig GlobalTemplateInfos = map[string]string{} )
Functions ¶
func GenerateEmailContent ¶
func GenerateEmailContent( templateDef messagingTypes.EmailTemplate, lang string, payload map[string]string, ) (string, string, error)
func InitMessageSendingVariables ¶
func InitMessageSendingVariables( newClientConfig *httpclient.ClientConfig, globalTemplateInfos map[string]string, mdb *messageDB.MessagingDBService, )
func QueueEmailByTemplate ¶
func SendOutgoingEmail ¶
func SendOutgoingEmail( outgoing *messagingTypes.OutgoingEmail, ) error
Types ¶
type SendEmailReq ¶
type SendEmailReq struct { To []string `json:"to"` Subject string `json:"subject"` Content string `json:"content"` HighPrio bool `json:"highPrio"` HeaderOverrides *messagingTypes.HeaderOverrides `json:"headerOverrides"` }
Click to show internal directories.
Click to hide internal directories.