Re: [appengine-java] Re: The API call mail.Send() required more quota than is available.

2010-12-18 Thread Ronald R. DiFrango
Well, my approach was to us a listsrv that way I'm only technically sending
to one address but the list manager is then forwarding it along :-)

Sent from my iPhone

On Dec 18, 2010, at 2:56 AM, Fabrizio Accatino fht...@gmail.com wrote:

... or enqueue your outgoing message on a task queue with a slow run
frequency (let's say 5/minutes).
I do that and I'm very happy.  :)

Fabrizio


On Sat, Dec 18, 2010 at 1:15 AM, Ikai Lan (Google)
ikai.l+gro...@google.comikai.l%2bgro...@google.com
 wrote:

 8 is fairly arbitrary, but there's always going to be a number that bothers
 people, be it 10, 20 or 50.

 You should enable billing. We only charge if you go above the daily free
 quota, and it raises the rate limit. That means that if you send 10 emails
 per minute and only do this once a month, you'll never hit this quota limit,
 and we'll likely not bill you since you'll still be well within our free
 quota.


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

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



Re: [appengine-java] Re: The API call mail.Send() required more quota than is available.

2010-12-17 Thread Ronald R. DiFrango
Ikai,

I do understand that, but 8 seems like a somewhat arbitrary number.  My site
was just attempting to send an email to my immediate family which easily
exceeds that number.  And given my actual usage, there is no real reason for
me to enable billing.

Ron

On Fri, Dec 17, 2010 at 12:44 PM, Ikai Lan (Google) 
ikai.l+gro...@google.com ikai.l%2bgro...@google.com wrote:

 It's to slow down spammers. To have a higher limit, you can enable billing.
 You'll have up to 5,100 recipients a minute.

 http://code.google.com/appengine/docs/quotas.html#Mail

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blogger: http://googleappengine.blogspot.com
 Reddit: http://www.reddit.com/r/appengine
 Twitter: http://twitter.com/app_engine



 On Mon, Dec 13, 2010 at 7:14 PM, Ronald R. DiFrango 
 ron.difra...@gmail.com wrote:

 I figured this out, even though the recipient quota per day is 2,000, you
 can not send an email that has more than 8 recipients within a minute.  I
 worked around this by using a mailing list service that emails are sent to
 instead.  Why is there such a low er email recipient total?

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


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




-- 
Ron DiFrango
http://rdifrango.blogspot.com/

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



Re: [appengine-java] JavaMail Multipart message with inline images

2010-12-15 Thread Ronald R. DiFrango
Voted and added a comment.  It really is amazing that this simple feature is 
not supported.

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



[appengine-java] JavaMail Multipart message with inline images

2010-12-14 Thread Ronald R. DiFrango
I'm attempting to send an email that has an HTML body with inline images and 
it is not working.  The main reason I believe this to be the case is that 
the App Engine wrapper around behind JavaMail requires a file name to be 
set.  For my HTML snippet I have the following:

   div align=center

  We are going to Turks  Caicos to see:

  table

  tr

   tdimg src='cid:identifier1'/img/td

   tdimg src='cid:identifier2'/img/td

   tdimg src='cid:identifier3'/img/td

  /tr

  /table

 /div

*
*

Then I add the for each


   MimeBodyPart part = new MimeBodyPart();
   
 File file = new File(resourceName);

 DataSource fds = new FileDataSource(file);

 part.setDataHandler(new DataHandler(fds));

 part.setDisposition(MimeBodyPart.INLINE);

 // Offending Line Start

 part.setFileName(resourceName);

 // Offending Line End

 part.setContentID( + resourceRefId + );


 // Add part to multi-part

 message.addBodyPart(part);


My question is:



   1. Is there a way to do this?
   2. If so how?
   3. If NOT, why?
   4. And why is the file name required?

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



[appengine-java] Re: The API call mail.Send() required more quota than is available.

2010-12-13 Thread Ronald R. DiFrango
I figured this out, even though the recipient quota per day is 2,000, you 
can not send an email that has more than 8 recipients within a minute.  I 
worked around this by using a mailing list service that emails are sent to 
instead.  Why is there such a low er email recipient total?

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



[appengine-java] The API call mail.Send() required more quota than is available.

2010-12-12 Thread Ronald R. DiFrango
Even though all my quota's show 0%, Any reason why I would be etting
the following exception:



com.google.apphosting.api.ApiProxy$OverQuotaException: The API call
mail.Send() required more quota than is available. at
com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.rpcFinished(ApiProxyImpl.java:365)
at
com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.java:1025)
at
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
at
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
at
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
at
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
at
com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1046)
at com.google.net.rpc.RPC.internalFinish(RPC.java:2122) at
com.google.net.rpc.impl.RpcNetChannel.finishRpc(RpcNetChannel.java:2370)
at
com.google.net.rpc.impl.RpcNetChannel.messageReceived(RpcNetChannel.java:1284)
at
com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
at
com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:474)
at
com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:831)
at
com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:103)
at
com.google.net.async.GlobalEventRegistry$2.runLoop(GlobalEventRegistry.java:95)
at
com.google.net.async.LoopingEventDispatcher$EventDispatcherThread.run(LoopingEventDispatcher.java:385)

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