package
Version:
v0.0.0-...-378a548
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
TextHTML = "text/html"
TextPlain = "text/plain"
)
type Contact struct {
Name string `json:"name"`
Address string `json:"access"`
}
Contact contact
type File struct {
Path string `json:"path"`
AliasName string `json:"alias-name"`
}
File file
type Message struct {
From Contact `json:"from"`
To []Contact `json:"to"`
Cc []Contact `json:"cc"`
Bcc []Contact `json:"bcc"`
Subject string `json:"subject"`
Body string `json:"body"`
ContentType string `json:"content-type"`
Attach []File `json:"attach"`
}
Message msg
Source Files
¶
Click to show internal directories.
Click to hide internal directories.