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 = ""
|
||||
for k,v in request.POST.iteritems():
|
||||
message += "%s: %s\n" % (k,v)
|
||||
message += "ip address: %s\n" % str(request.remote_addr)
|
||||
|
||||
if kwargs["id"] == "relational":
|
||||
from google.appengine.api import mail
|
||||
|
Loading…
Reference in New Issue
Block a user