File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,15 @@ type CreateEmailRequestAttachment struct {
393393 Content []byte `json:"content"`
394394}
395395
396+ // CreateEmailRequestHeader: create email request header.
397+ type CreateEmailRequestHeader struct {
398+ // Key: email header key.
399+ Key string `json:"key"`
400+
401+ // Value: email header value.
402+ Value string `json:"value"`
403+ }
404+
396405// Email: email.
397406type Email struct {
398407 // ID: technical ID of the email.
@@ -585,6 +594,9 @@ type CreateEmailRequest struct {
585594
586595 // SendBefore: maximum date to deliver the email.
587596 SendBefore * time.Time `json:"send_before,omitempty"`
597+
598+ // AdditionalHeaders: array of additional headers as key-value.
599+ AdditionalHeaders []* CreateEmailRequestHeader `json:"additional_headers"`
588600}
589601
590602// CreateEmailResponse: create email response.
You can’t perform that action at this time.
0 commit comments