Skip to content

gbLw1/go-email-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go email sender

This project is a simple prove of concept of how to send emails using Go.


Service providers

In this project I used two different service providers to send emails:

How to use

Setup

First of all, you need to create a .env file in the root of the project with the following content:

EMAIL=YOUR_EMAIL
PASSWORD=YOUR_APP_PASSWORD

Run

To run the project, you need to execute the following command:

go run main.go