πŸ“§ Example of sending mail via SendGrid in Golang.

πŸ“§ go-sendgrid-example

Example of sending mail via SendGrid in Golang.

Get it started

$ make setup

# Edit environment variables
$ vim ./env/local.env

# Run docker containers
$ make up

# Healthcheck of mock-sendgrid
$ make ping

# Send email
$ docker-compose exec app go run main.go

# Send email with options
$ docker-compose exec app go run main.go [email protected] [email protected] -subject=hi

Mail

Use ykanazawa/sendgrid-maildev as mock SendGrid API Server.

  • Mock SendGrid API Server running at http://0.0.0.0:3030
  • MailDev webapp running at http://0.0.0.0:1080
  • MailDev SMTP Server running at 0.0.0.0:1025
Similar Resources

an MDA that sends a webhook on recieval of mail

an MDA that sends a webhook on recieval of mail

Aug 13, 2022

Filtering spam in mail server, protecting both client privacy and server algorithm

HE Spamfilter SNUCSE 2021 "Intelligent Computing System Design Project" Hyesun Kwak Myeonghwan Ahn Dongwon Lee abstract NaΓ―ve Bayesian spam filtering

Mar 23, 2022

Mcopa - A library allows for parsing an email message into a more convenient form than the net/mail provides

Mail content parsing This library allows for parsing an email message into a mor

Jan 1, 2022

Simple tool to test SMTP mail send with various settings including TLS1.1 downgrade

smtptest Simple tool to test SMTP mail send with various settings including TLS1.1 downgrade All settings are configurable in the config.yaml file ser

Sep 19, 2022

Go-mail - Email service using Kafka consumer

πŸ“ The Project This project consists in a Kafka consumer that reads messages of

Feb 5, 2022

Send markdown files as MIME-encoded electronic mail.

Send markdown files as MIME-encoded electronic mail.

Aug 9, 2022

Golang library for sending email using gmail credentials

library for sending email using gmail credentials

Jan 22, 2022

:white_check_mark: A Go library for email verification without sending any emails.

email-verifier βœ‰οΈ A Go library for email verification without sending any emails. Features Email Address Validation: validates if a string contains a

Dec 30, 2022

βœ‰οΈ A Go library for email verification without sending any emails.

email-verifier βœ‰οΈ A Go library for email verification without sending any emails. Features Email Address Validation: validates if a string contains a

Jun 24, 2021
Mail-alias-resolve-ldap - Resolve mail alias addresses in LDAP

alias-resolve-ldap alias-resolve-ldap was written to be used as a hook for the c

Jan 30, 2022
Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Golang package that generates clean, responsive HTML e-mails for sending transactional mail

Hermes Hermes is the Go port of the great mailgen engine for Node.js. Check their work, it's awesome! It's a package that generates clean, responsive

Dec 28, 2022
Go library for sending mail with the Mailgun API.

Mailgun with Go Go library for interacting with the Mailgun API. Usage package main import ( "context" "fmt" "log" "time" "githu

Dec 25, 2022
Mail_sender - This library is for sending emails from your mail

Mail Sender This library is for sending emails from your mail Installation mail_

Dec 30, 2021
The Official Twilio SendGrid Led, Community Driven Golang API Library
The Official Twilio SendGrid Led, Community Driven Golang API Library

NEW: Subscribe to email notifications for releases and breaking changes. The default branch name for this repository has been changed to main as of 07

Dec 15, 2022
Sending emails using email server talking to RabbitMQ and send grid server sending emails to email ids consumed from RabbitMQ
Sending emails using email server talking to RabbitMQ and send grid server sending emails to email ids consumed from RabbitMQ

Sending emails using email server talking to RabbitMQ and send grid server sending emails to email ids consumed from RabbitMQ

Oct 27, 2022
Inline styling for html mail in golang

go-premailer Inline styling for HTML mail in golang Document install go get github.com/vanng822/go-premailer/premailer Example import ( "fmt" "gith

Nov 30, 2022
:envelope: A streaming Go library for the Internet Message Format and mail messages

go-message A Go library for the Internet Message Format. It implements: RFC 5322: Internet Message Format RFC 2045, RFC 2046 and RFC 2047: Multipurpos

Dec 26, 2022
βœ‰οΈ Composable all-in-one mail server.

Maddy Mail Server Composable all-in-one mail server. Maddy Mail Server implements all functionality required to run a e-mail server. It can send messa

Dec 27, 2022
MIME mail encoding and decoding package for Go

enmime enmime is a MIME encoding and decoding library for Go, focused on generating and parsing MIME encoded emails. It is being developed in tandem w

Nov 30, 2022