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
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. |
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. |