synthmail

package module
v0.0.0-...-e885947 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 2 Imported by: 0

README

synthmail

Simple mailing library for Synth Space.

Usage

client := synthmail.New("smtp.purelymail.com", "587", "noreply@synthspace.xyz", "your_password")

err := mailer.Send("user@example.com", "Welcome!",
`Don't forget to star this repository!

— The Synth Space developer team.`)

if err != nil {
    fmt.Println("Failed to send email:", err)
}

License

Released under the MIT open-source license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Host     string
	Port     string
	From     string
	Password string
}

func New

func New(host, port, from, password string) *Client

func (*Client) Send

func (m *Client) Send(to, subject, body string) error

Jump to

Keyboard shortcuts

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