Hi Thanks for the reply, the session.time was left in my mistake, I tried it without the session and it still gave me the same error, I have tried your suggestion and is working. The only problem I am having know is the request.client is sending a ip of 127.0.0.1, which ever client pc I use. This is only being used on a intranet and should pick up a 10.1.2.* as the ip.
Thanks G Smith On Wednesday, 4 November 2015 13:41:48 UTC, Alfonso Serra wrote: > > you are overwriting t and not converting back to string > session.time = t > > the better if you format the variables like: > subject= "Message From: %s, %s, %s" % (name, bod, t) > > This way, python will take care of the conversion for you. > On Wednesday, 4 November 2015 13:41:48 UTC, Alfonso Serra wrote: > > you are overwriting t and not converting back to string > session.time = t > > the better if you format the variables like: > subject= "Message From: %s, %s, %s" % (name, bod, t) > > This way, python will take care of the conversion for you. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.