email

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package email ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(cfg *Config, recvUser []string, content *Content) error

Do 发送

Types

type Config

type Config struct {
	Address string `json:"address"`
	Name    string `json:"name"`
	Pwd     string `json:"pwd"`
	Host    string `json:"host"`
	Port    int    `json:"port"`
}

Config ...

type Content

type Content struct {
	Title   string `json:"title"`
	Type    string `json:"type"` // text/html, text/plain, text/markdown
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL