Skip to content

ambitus-it/sendgrid-connector

Repository files navigation

Sendgrid Connector

We have make a library to use sendgrid emails with dynamic templates

Cloning

git clone https://github.com/ambitus-it/sendgrid-connector

Usage

First: Copy your APIKEY to file configs.
Second: Change your Template Id and Dynamic Params
Third: Send a Post with Headers (Content-type application/json)
Four: Send a json with this format:

{
	"to": "emailToSend",
	"from": "emailFrom",
	"subject": "Subject",
	"text": "Text",
	"html": "text/html",
	"templateId": "TemplateID",
	"params": "{
	    foo: bar	
	}"
}

Thanks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •