package
Version:
v7.6.3
Opens a new window with list of versions in this module.
Published: Sep 7, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
SMTP 实现 io.Writer 接口的邮件发送
NewSMTP 新建 SMTP 对象
username 为smtp 的账号;
password 为 smtp 对应的密码;
subject 为发送邮件的主题;
host 为 smtp 的主机地址,需要带上端口号;
sendTo 为接收者的地址。
Source Files
¶
Directories
¶
Package rotate 提供一个可以按文件大小进行分割的 io.Writer 实例
|
Package rotate 提供一个可以按文件大小进行分割的 io.Writer 实例 |
Click to show internal directories.
Click to hide internal directories.