go_email_sender will help you to send the emails in bulk
-
Add the
.csv
file in thedata
directory and edit the path in thecsvPath
variable in themain.go
file. Note that the.csv
file must contain the column with nameemail
(case sensitive). -
Add the HTML template in the
template
directory and edit the path in thetemplatePath
variable in themain.go
file. Add the variables in the template file according to the instructions mentioned in the existingtemplate.html
. -
Create
.env
file in the root directory of this project. Populate it with the variables from the.env.example
file and replace them with your own credentials. -
Specify the email subject in the
email_content.json
file. -
Execute the command
go run main.go
- If you have any feature requests, please open an issue here
- Feel free to contribute to this project by raising a PR!