create a task table with a email, title, message, and done fields.
insert a task in the table. Have a background process that selects the
first task with done=False, sends the email, sets done=True and loops.

On Aug 4, 10:02 am, Francisco Costa <m...@franciscocosta.com> wrote:
> Is it possible to have this in web2py:
>
> imagine i have a function for user registration:
> after the db.auth_user.insert() i want to send an email to the user
>
> I would like to have the sent_email() function in a spool, this way
> the controller could execute faster and the emails would be sent in
> "background"

Reply via email to