in db.py I have:
## configure email
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:465'
mail.settings.sender = 'mym...@gmail.com'
mail.settings.login = 'mym...@gmail.com:secret'
in my controller I have mentioned:
session.x=mail.send(to=['somem...@gmail.com'],
thank you
On Tuesday, January 12, 2016 at 12:34:47 AM UTC+5:30, Anthony wrote:
>
> web2py isn't giving you the "wrong" time -- it's the local time on your
> server. If you want UTC, you can use request.utcnow (request.now and
> request.utcnow are just datetime.datetime.now() and
> datetime.date
How to do that? Can you write a chunk of code please if it doesn't bother
you?
On Tuesday, January 12, 2016 at 12:31:27 AM UTC+5:30, Anthony wrote:
>
> On Monday, January 11, 2016 at 1:03:25 PM UTC-5, RAGHIB R wrote:
>>
>> {{=
>> x.name}}
>> this in my view calls this functions:
>> def my_insert_
3 matches
Mail list logo