[google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-07 Thread Sandeep Arneja
have you experimented with shorter email groups. do we know the
maximum recipients that can be safely added? I think maybe the only
solution would be to split them into smaller individual tasks.

On Jun 3, 3:00 am, Aurelian aurelian.vacar...@googlemail.com wrote:
 I was trying to send 1200 emails using a task queue, but it doesn't
 work, giving a error.
 I think you should split the list of receivers every 5000, and send 2
 o 3 emails.
 Happy coding.

 On Jun 3, 7:45 am, Sandeep Arneja sandee...@gmail.com wrote:

  I am trying to send an email with about 10K+ addresses in the cc list.
  This is not for spam but in case i have maintainence on my application
  i send an email to all users informing them about the status. How
  should i design this? I see that google app engine in dev stops
  responding when i use Transport.send(msg); with 10K+ emails in cc even
  when the method is supposed to return asynchronously.  Should i divide
  the email into smaller tasks and put on the queue or would the engine
  not hang in PROD?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-07 Thread Sandeep Arneja
Has anyone experimented with shorter email bcc groups? Whats the
maximum number of people I can have in a group without having the task
fail?

On Jun 3, 3:00 am, Aurelian aurelian.vacar...@googlemail.com wrote:
 I was trying to send 1200 emails using a task queue, but it doesn't
 work, giving a error.
 I think you should split the list of receivers every 5000, and send 2
 o 3 emails.
 Happy coding.

 On Jun 3, 7:45 am, Sandeep Arneja sandee...@gmail.com wrote:

  I am trying to send an email with about 10K+ addresses in the cc list.
  This is not for spam but in case i have maintainence on my application
  i send an email to all users informing them about the status. How
  should i design this? I see that google app engine in dev stops
  responding when i use Transport.send(msg); with 10K+ emails in cc even
  when the method is supposed to return asynchronously.  Should i divide
  the email into smaller tasks and put on the queue or would the engine
  not hang in PROD?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-07 Thread Patrick Twohig
If you send a bulk email like that, does it count as one email towards your
quota or does it count as each recipient.  I wrote a task that sends a
single email to my entire subscriber base.  WOuld I be saving money by using
the BCC field?

On Mon, Jun 7, 2010 at 8:34 AM, Sandeep Arneja sandee...@gmail.com wrote:

 Has anyone experimented with shorter email bcc groups? Whats the
 maximum number of people I can have in a group without having the task
 fail?

 On Jun 3, 3:00 am, Aurelian aurelian.vacar...@googlemail.com wrote:
  I was trying to send 1200 emails using a task queue, but it doesn't
  work, giving a error.
  I think you should split the list of receivers every 5000, and send 2
  o 3 emails.
  Happy coding.
 
  On Jun 3, 7:45 am, Sandeep Arneja sandee...@gmail.com wrote:
 
   I am trying to send an email with about 10K+ addresses in the cc list.
   This is not for spam but in case i have maintainence on my application
   i send an email to all users informing them about the status. How
   should i design this? I see that google app engine in dev stops
   responding when i use Transport.send(msg); with 10K+ emails in cc even
   when the method is supposed to return asynchronously.  Should i divide
   the email into smaller tasks and put on the queue or would the engine
   not hang in PROD?

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Patrick H. Twohig.

Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-07 Thread Sandeep Arneja
Each recipient in the bcc list counts towards one email credit

On Jun 7, 4:24 pm, Patrick Twohig patr...@namazustudios.com wrote:
 If you send a bulk email like that, does it count as one email towards your
 quota or does it count as each recipient.  I wrote a task that sends a
 single email to my entire subscriber base.  WOuld I be saving money by using
 the BCC field?



 On Mon, Jun 7, 2010 at 8:34 AM, Sandeep Arneja sandee...@gmail.com wrote:
  Has anyone experimented with shorter email bcc groups? Whats the
  maximum number of people I can have in a group without having the task
  fail?

  On Jun 3, 3:00 am, Aurelian aurelian.vacar...@googlemail.com wrote:
   I was trying to send 1200 emails using a task queue, but it doesn't
   work, giving a error.
   I think you should split the list of receivers every 5000, and send 2
   o 3 emails.
   Happy coding.

   On Jun 3, 7:45 am, Sandeep Arneja sandee...@gmail.com wrote:

I am trying to send an email with about 10K+ addresses in the cc list.
This is not for spam but in case i have maintainence on my application
i send an email to all users informing them about the status. How
should i design this? I see that google app engine in dev stops
responding when i use Transport.send(msg); with 10K+ emails in cc even
when the method is supposed to return asynchronously.  Should i divide
the email into smaller tasks and put on the queue or would the engine
not hang in PROD?

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 Patrick H. Twohig.

 Namazu Studios
 P.O. Box 34161
 San Diego, CA 92163-4161

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-04 Thread GAEfan
Agreed.  But I hope you mean bcc and not cc.  Please do not send
emails where everyone on the list has their addresses and identities
exposed to all others.  Plus, some email clients display everyone in
the cc list at once, so it makes the email extremely long.

Also, put this in a try/catch, so it doesn't repeatedly send the
emails if an error occurs, or if it takes longer than the deadline to
get a response.  If the task queue doesn't hear back before the 30
second deadline, it considers it an error, and sends it again and
again until it gets confirmed.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Email Service with 10K+ addresses in the cc list

2010-06-03 Thread Aurelian
I was trying to send 1200 emails using a task queue, but it doesn't
work, giving a error.
I think you should split the list of receivers every 5000, and send 2
o 3 emails.
Happy coding.

On Jun 3, 7:45 am, Sandeep Arneja sandee...@gmail.com wrote:
 I am trying to send an email with about 10K+ addresses in the cc list.
 This is not for spam but in case i have maintainence on my application
 i send an email to all users informing them about the status. How
 should i design this? I see that google app engine in dev stops
 responding when i use Transport.send(msg); with 10K+ emails in cc even
 when the method is supposed to return asynchronously.  Should i divide
 the email into smaller tasks and put on the queue or would the engine
 not hang in PROD?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.