On second thought... there is one way. You can create your own mail object which has a send_mail method and all it does is to queue its arguments. Then configure auth.settings.mailer to user your mailer object.
On Thursday, 5 March 2015 17:30:03 UTC-6, James O' Driscoll wrote: > > I am trying to place all email sent from app into queue. > > I am using scheduler and this works fine. > > I want to add the email for verifying email, detailed below, to the queue. > > I would have taught that I have to append a mail function to the > request_reset_password.onaccept, but this is not available. > > Any help would be great. > > Regards, > J > > auth.messages.verify_email = 'Click on the link http://' + > request.env.http_host + > URL(r=request,c='default',f='user',args=['verify_email']) + '/%(key)s to > verify your email' > > -- 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.