Re: [web2py] Proper way to send multiple emails in Background

2013-07-02 Thread Anthony
See 
http://web2py.com/books/default/chapter/29/08#Sending-messages-using-a-background-task.
 
You can use the built-in scheduler rather than a homemade task queue if you 
prefer. You might also consider doing some ajax polling from the browser to 
check the status of the mail send in order to notify the user of success or 
failure.

Anthony

On Tuesday, July 2, 2013 11:36:11 AM UTC-4, dundee wrote:
>
> Hi all,
>
> Is there a proper way to send multiple emails in the background of your 
> application?
> I would not want the user to wait while the emails are being sent.
> I am considering using a threads, but I would like to hear from the 
> community if this is the best approach.
>
>
> Thanks.
>
>
> -- 
> Kevin Miller
>
>  

-- 

--- 
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/groups/opt_out.




[web2py] Proper way to send multiple emails in Background

2013-07-02 Thread Kevin Miller
Hi all,

Is there a proper way to send multiple emails in the background of your
application?
I would not want the user to wait while the emails are being sent.
I am considering using a threads, but I would like to hear from the
community if this is the best approach.


Thanks.


-- 
Kevin Miller

-- 

--- 
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/groups/opt_out.