Documentation
¶
Index ¶
- type Client
- type MailMessage
- func (m *MailMessage) AccountName(accountName string) *MailMessage
- func (m *MailMessage) AddressType(addressType int) *MailMessage
- func (m *MailMessage) HtmlBody(htmlBody string) *MailMessage
- func (m *MailMessage) ReplyToAddress(replyToAddress bool) *MailMessage
- func (m *MailMessage) Subject(subject string) *MailMessage
- func (m *MailMessage) ToAddress(toAddress ...string) *MailMessage
- func (m *MailMessage) TransFormToRequestParams() any
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type MailMessage ¶
type MailMessage struct {
// contains filtered or unexported fields
}
func NewMailMessage ¶
func NewMailMessage(accountName, subject string, toAddress ...string) *MailMessage
func (*MailMessage) AccountName ¶
func (m *MailMessage) AccountName(accountName string) *MailMessage
func (*MailMessage) AddressType ¶
func (m *MailMessage) AddressType(addressType int) *MailMessage
func (*MailMessage) HtmlBody ¶
func (m *MailMessage) HtmlBody(htmlBody string) *MailMessage
func (*MailMessage) ReplyToAddress ¶
func (m *MailMessage) ReplyToAddress(replyToAddress bool) *MailMessage
func (*MailMessage) Subject ¶
func (m *MailMessage) Subject(subject string) *MailMessage
func (*MailMessage) ToAddress ¶
func (m *MailMessage) ToAddress(toAddress ...string) *MailMessage
func (*MailMessage) TransFormToRequestParams ¶
func (m *MailMessage) TransFormToRequestParams() any
type Response ¶
type Response struct { Body struct { EnvId string `json:"EnvId"` RequestId string `json:"RequestId"` } `json:"body"` Headers struct { AccessControlAllowOrigin string `json:"access-control-allow-origin"` AccessControlExposeHeaders string `json:"access-control-expose-headers"` Connection string `json:"connection"` ContentLength string `json:"content-length"` ContentType string `json:"content-type"` Date string `json:"date"` Etag string `json:"etag"` KeepAlive string `json:"keep-alive"` XAcsRequestId string `json:"x-acs-request-id"` XAcsTraceId string `json:"x-acs-trace-id"` } `json:"headers"` StatusCode int `json:"statusCode"` }
Click to show internal directories.
Click to hide internal directories.