aliyungo: github.com/denverdino/aliyungo/dm Index | Files

package dm

import "github.com/denverdino/aliyungo/dm"

Index

Package Files

client.go mail.go

Constants

const (
    EmailEndPoint   = "https://dm.aliyuncs.com/"
    SingleSendMail  = "SingleSendMail"
    BatchSendMail   = "BatchSendMail"
    EmailAPIVersion = "2015-11-23"
)

type Client Uses

type Client struct {
    common.Client
}

func NewClient Uses

func NewClient(accessKeyId, accessKeySecret string) *Client

func (*Client) SendBatchMail Uses

func (this *Client) SendBatchMail(args *SendBatchMailArgs) error

func (*Client) SendSingleMail Uses

func (this *Client) SendSingleMail(args *SendSingleMailArgs) error

type SendBatchMailArgs Uses

type SendBatchMailArgs struct {
    SendEmailArgs
    TemplateName string
    ReceiverName string
    TagName      string
}

type SendEmailArgs Uses

type SendEmailArgs struct {
    AccountName string
    AddressType string
}

type SendSingleMailArgs Uses

type SendSingleMailArgs struct {
    SendEmailArgs
    ReplyToAddress bool
    ToAddress      string
    FromAlias      string
    Subject        string
    HtmlBody       string
    TextBody       string
}

Package dm imports 2 packages (graph) and is imported by 1 packages. Updated 2018-03-25. Refresh now. Tools for package owners.