-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultystatus: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap
Description
Add a method that will check the content of the email before sending, to make sure that specific strings or patterns are not included.
For example, SG API keys look like this: SG.[a-zA-Z0-9_].[a-zA-Z0-9-].
So the function could take a list of regex or specific strings to compare against. If a string is found, the mail/send should throw an exception
Metadata
Metadata
Assignees
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultystatus: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: twilio enhancementfeature request on Twilio's roadmapfeature request on Twilio's roadmap