File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121class AttachmentHandler (webapp2 .RequestHandler ):
2222 def post (self ):
2323 f = self .request .POST ['file' ]
24- mail .send_mail (sender = '{}@appspot.gserviceaccount .com' .format (
24+ mail .send_mail (sender = 'example@{}.appspotmail .com' .format (
2525 app_identity .get_application_id ()),
2626 to = "Albert Johnson <Albert.Johnson@example.com>" ,
2727 subject = "The doc you requested" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def get(self):
4343 def post (self ):
4444 print (repr (self .request .POST ))
4545 id = self .request .POST ['thread_id' ]
46- send_example_mail ('{}@appspot.gserviceaccount .com' .format (
46+ send_example_mail ('example@{}.appspotmail .com' .format (
4747 app_identity .get_application_id ()), id )
4848 self .response .content_type = 'text/plain'
4949 self .response .write (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def send_approved_mail(sender_address):
3737
3838class SendMailHandler (webapp2 .RequestHandler ):
3939 def get (self ):
40- send_approved_mail ('{}@appspot.gserviceaccount .com' .format (
40+ send_approved_mail ('example@{}.appspotmail .com' .format (
4141 app_identity .get_application_id ()))
4242 self .response .content_type = 'text/plain'
4343 self .response .write ('Sent an email to Albert.' )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def send_approved_mail(sender_address):
4040
4141class SendMessageHandler (webapp2 .RequestHandler ):
4242 def get (self ):
43- send_approved_mail ('{}@appspot.gserviceaccount .com' .format (
43+ send_approved_mail ('example@{}.appspotmail .com' .format (
4444 app_identity .get_application_id ()))
4545 self .response .content_type = 'text/plain'
4646 self .response .write ('Sent an email message to Albert.' )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def post(self):
3535 else :
3636 confirmation_url = create_new_user_confirmation (user_address )
3737 sender_address = (
38- 'Example.com Support <{}@appspot.gserviceaccount .com>' .format (
38+ 'Example.com Support <example@{}.appspotmail .com>' .format (
3939 app_identity .get_application_id ()))
4040 subject = 'Confirm your registration'
4141 body = """Thank you for creating an account!
You can’t perform that action at this time.
0 commit comments