Discover Packages
github.com/Zzaniu/zrpc
tool
mail
mq-mail
package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Mar 10, 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.
Jump to ...
Documentation
Index
Constants
Variables
Functions
SendMail(product, to, cc, bcc, title, body, filePath, foreign)
SendMailByte(product, to, cc, bcc, title, body, fileInfo, foreign)
Types
Source Files
Documentation
Documentation
¶
func SendMail(product *rabbit.RbMqClient, to, cc, bcc, title, body string, filePath []string, ...) (bool, error)
func SendMailByte(product *rabbit.RbMqClient, to, cc, bcc, title, body string, ...) (bool, error)
type Mail
type MailInfo
SendMailByte 基于二进制数据发送邮件附件
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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.