Last active
December 12, 2015 07:29
-
-
Save robertdo/4737383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SendEmail(webapp2.RequestHandler): | |
def get(self): | |
... | |
message.send() | |
# Send the SMS confirmation | |
# Get the number of the SMS sender | |
sms_sender = self.request.get('From') | |
sms = client.sms.messages.create(to=sms_sender, from_="+16504253645", | |
body="Your email has been sent to %s" % recipient) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment