SendEmail

command
v0.0.0-...-44619c2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 2 Imported by: 0

README

SMTP Email sending example

Sending a simple email over an SMTP server using Golang.

Requirements

  • Local golang installation

Getting started

First, you need to add the settings of your SMTP server. If you don't have an SMTP server, you can use ethereal for testing purposes.

After that, you need to set the email details like the email address, subject, and body.

Then you can run the application using the following command.

go run email.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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