I did this to change my website registration link sent out to via
email.
BEFORE:
auth.messages.verify_email = 'Click on the link
http://'+request.env.http_host+URL('default','user',args=['verify_email'])+'/%(key)s
to verify your email.'
AFTER:
auth.messages.verify_email = 'Click on the link http://'+
'lucky.example.com' + URL('default','user',args=['verify_email']) + '/%
(key)s to verify your email for my great site!'
can we use the following URL arguments:
Host=True
Scheme=True
instead of 'lucky.example.com' or request.env.http_host (as used by
web2py)
I'm guessing this depends on the routes.py setup.
I tried testing in the shell but got 127.0.0.1:8000 instead.
Any help would be appreciated.
Thanks,
Olympus Runner