Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfrimEmailContent ¶
用户登录名称 mailout@5761912992379058.onaliyun.com AccessKey ID LTAI4GGJv3t3T1RVDmqWgRN2 AccessKey Secret rwN9Jcc3UCjiCcQVA7xz4BCbtpmd6h CreateConfrimEmailContent 创建 认证EMAIL 发送内容
Types ¶
type Client ¶
Client is used to send mail request.
func (Client) SendRequest ¶
func (c Client) SendRequest(r *MailRequest) (string, error)
SendRequest method sends out a MailRequest.
type MailRequest ¶
type MailRequest struct { Action string AccountName string ReplyToAddress bool AddressType int ToAddress string FromAlias string Subject string HtmlBody string TextBody string }
MailRequest struct represents a mail to be sent.
type ParameterSet ¶
type ParameterSet struct {
// contains filtered or unexported fields
}
func NewParameterSet ¶
func NewParameterSet() *ParameterSet
func (ParameterSet) Add ¶
func (s ParameterSet) Add(key, value string)
func (ParameterSet) Concatenate ¶
func (s ParameterSet) Concatenate() string
func (ParameterSet) GetStringToSign ¶
func (s ParameterSet) GetStringToSign() string
func (ParameterSet) Sign ¶
func (s ParameterSet) Sign(content, accessKeySecret string) string
Click to show internal directories.
Click to hide internal directories.