Skip to content

massej/emailtosms-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emailtosms-gateway

Amazon Serverless Lambda NodeJS Function

A lambda NodeJS serverless function that forward an email (received by SendGrid) to an SMS message (Using Twilio API).

See this blog article for details on how to deploy this Email to SMS gateway:
https://www.twilio.com/blog/serverless-email-sms-gateway-lambda

Lambda environment variables configuration

Name Description
AllowedDomains Allowed domains sender list (separated by a coma).

If there are no domains, it will allow any domains to send email. (For security concern, it is recommended to set this value.)

Example :
If we want to allow @test.com and @test.net to send email to SMS.
We need to set this value to "@test.com,@test.net"

Type : string.

HTTP GET variables configuration

Name Description
twilio_accountsid Your Twilio account SID.

Type : string.
twilio_authtoken Your Twilio account authentication token.

Type : string.
twilio_phonenumber Your Twilio phone number to use to send the SMS message.

Type : string.

About

emailtosms-gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published