Skip to content

muhammadfayyaz3/go-sms-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO SMS/EMAIL APP

Developer Setup

1. Update Config

{config/config.development.json}

Twilio Setup

-ACCOUNT_SID
-AUTH_TOKEN
-FROM_NUMBER

SendGrid Setup

-SENDGRID_API_KEY

2. Update SMS, TO & BODY environment variable

{main.go}

For SMS

-TO="+123456789"
-BODY="Sample sms text"

For Email

-EMAIL_FROM_NAME
-EMAIL_FROM
-EMAIL_TO_NAME
-EMAIL_TO
-EMAIL_SUBJECT
-EMAIL_BODY  

Note: Env variable can also assign on the go by commenting init function in main.go
$ go run .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published