Skip to content

Instantly share code, notes, and snippets.

@robertdo
Last active December 12, 2015 07:29
Show Gist options
  • Save robertdo/4737383 to your computer and use it in GitHub Desktop.
Save robertdo/4737383 to your computer and use it in GitHub Desktop.
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