mail

package
v1.3.43 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(vm *goja.Runtime) error

Types

type EmailConfig

type EmailConfig struct {
	Host       string `json:"host"`
	Port       int    `json:"port"`
	EnableAuth bool   `json:"enableAuth"`
	EnableTls  bool   `json:"enableTls"`
	Username   string `json:"username"`
	Password   string `json:"password"`
}

type EmailMessage

type EmailMessage struct {
	From        string `json:"from"`
	FromName    string `json:"fromName"`
	To          string `json:"to"`
	ToName      string `json:"toName"`
	Subject     string `json:"subject"`
	Body        string `json:"body"`
	ContentType string `json:"contentType"`
}

Jump to

Keyboard shortcuts

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