[web2py] sending mail to multiple clients

2013-01-30 Thread José Eloy
Hello.

I'm thinking about solutions for this problem:

I have an application that have a list of 900 members to which to send 
mail. I need to send the mails and get notification about the status of 
every sending mail and when all they were succesfully sending. The trouble 
is my host provider limit me to send 500 mails per hour. 

What is the best form to do this?

Thanks in advance and sorry for my english, I hope you can understand me.

Regards.

-- 

--- 
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.




Re: [web2py] sending mail to multiple clients

2013-01-30 Thread Bruno Rocha
I would use sendgrid.com and its awesome newsletter API, alsoi sendgrid
takes care of spamming protection.

I wrote an module to interact with send grid through the API
https://github.com/rochacbruno/pysendgrid

But if you really want to use your own structure you should have a table
with email, recipient, status

Select 500 of your users which message has not been sent yet, send the
messages, time.sleep(1 hour) and do it again.
for every email sent you go to status table and check the status to sent

-- 

--- 
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.