File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 21
21
class AttachmentHandler (webapp2 .RequestHandler ):
22
22
def post (self ):
23
23
f = self .request .POST ['file' ]
24
- mail .send_mail (sender = '{}@appspot.gserviceaccount .com' .format (
24
+ mail .send_mail (sender = 'example@{}.appspotmail .com' .format (
25
25
app_identity .get_application_id ()),
26
26
to = "Albert Johnson <[email protected] >" ,
27
27
subject = "The doc you requested" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def get(self):
43
43
def post (self ):
44
44
print (repr (self .request .POST ))
45
45
id = self .request .POST ['thread_id' ]
46
- send_example_mail ('{}@appspot.gserviceaccount .com' .format (
46
+ send_example_mail ('example@{}.appspotmail .com' .format (
47
47
app_identity .get_application_id ()), id )
48
48
self .response .content_type = 'text/plain'
49
49
self .response .write (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def send_approved_mail(sender_address):
37
37
38
38
class SendMailHandler (webapp2 .RequestHandler ):
39
39
def get (self ):
40
- send_approved_mail ('{}@appspot.gserviceaccount .com' .format (
40
+ send_approved_mail ('example@{}.appspotmail .com' .format (
41
41
app_identity .get_application_id ()))
42
42
self .response .content_type = 'text/plain'
43
43
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):
40
40
41
41
class SendMessageHandler (webapp2 .RequestHandler ):
42
42
def get (self ):
43
- send_approved_mail ('{}@appspot.gserviceaccount .com' .format (
43
+ send_approved_mail ('example@{}.appspotmail .com' .format (
44
44
app_identity .get_application_id ()))
45
45
self .response .content_type = 'text/plain'
46
46
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):
35
35
else :
36
36
confirmation_url = create_new_user_confirmation (user_address )
37
37
sender_address = (
38
- 'Example.com Support <{}@appspot.gserviceaccount .com>' .format (
38
+ 'Example.com Support <example@{}.appspotmail .com>' .format (
39
39
app_identity .get_application_id ()))
40
40
subject = 'Confirm your registration'
41
41
body = """Thank you for creating an account!
You can’t perform that action at this time.
0 commit comments