Send also the originating IP address
This commit is contained in:
parent
8157464497
commit
bd563fcbbc
@ -24,6 +24,7 @@ def mail_sender(request, *args, **kwargs):
|
|||||||
message = ""
|
message = ""
|
||||||
for k,v in request.POST.iteritems():
|
for k,v in request.POST.iteritems():
|
||||||
message += "%s: %s\n" % (k,v)
|
message += "%s: %s\n" % (k,v)
|
||||||
|
message += "ip address: %s\n" % str(request.remote_addr)
|
||||||
|
|
||||||
if kwargs["id"] == "relational":
|
if kwargs["id"] == "relational":
|
||||||
from google.appengine.api import mail
|
from google.appengine.api import mail
|
||||||
|
Loading…
Reference in New Issue
Block a user