Discover Packages
github.com/Zzaniu/zrpc
tool
mail
mq-mail
package
Version:
v0.1.20
Opens a new window with list of versions in this module.
Published: Jul 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types SendMail(product, to, title, body, opts) type Mail type MailInfo type Opt type Option WithBcc(bcc) WithCc(cc) WithFileInfo(fileInfo) WithFilePath(filePath) WithForeign(foreign)
Documentation
¶
type Mail struct {
To string `json:"to"`
Cc string `json:"cc"`
Bcc string `json:"bcc"`
Title string `json:"title"`
Body string `json:"body"`
Attachment [][2]string `json:"attachment"`
Foreign bool `json:"foreign"`
}
type MailInfo struct {
Mail Mail `json:"mail"`
}
type Option func(opt *Opt )
WithForeign 签名, false 时使用对内签名
Source Files
¶
Click to show internal directories.
Click to hide internal directories.