Skip to content

An example of how to leverage transactional templates and substitutions using SendGrid's PHP library

Notifications You must be signed in to change notification settings

devchas/sendgrid-php-template-subs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example of how to leverage transactional templates and substitutions using SendGrid's PHP library

In email.php, create the customers array, insert sender/templateID info, and then...

Build the image

docker build -t TAG_NAME .

Run the container (you must have your API key saved as an env var called $SG_API_KEY)

docker run -it --rm -v "$(pwd)"/scripts:/usr/src/app -e SG_API_KEY={$SG_API_KEY} --name NAME TAG_NAME

About

An example of how to leverage transactional templates and substitutions using SendGrid's PHP library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages