[google-appengine] Sending email from java issues
Hello My app seems to have hit problems sending email. It has been working fine until yesterday around 13:00 gmt. From that point on I'm getting an io exception being thrown with the error text of "internal error". Has anyone else seem similar issues I wonder? Martin -- 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-appengine@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: Sending email from java issues
Hello, It's done it again. For no reason, nothing has changed but now I'm getting the errors below. Can anyone explain the problem? Many thanks Martin MailService IO failed (java.io.IOException: Internal error)javax.mail.SendFailedException: MailService IO failed (java.io.IOException: Internal error) at com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.java: 253) at javax.mail.Transport.send(Transport.java:95) at javax.mail.Transport.send(Transport.java:48) at com.nettrekking.SendEmailServlet.doPost(SendEmailServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java: 97) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: 35) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: 249) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:923) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: 76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: 135) at com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: 260) at com.google.apphosting.base.RuntimePb$EvaluationRuntime $2.handleRequest(RuntimePb.java:9805) at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: 422) at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java: 579) at com.google.tracing.TraceContext$TraceContextRunnable $1.run(TraceContext.java:449) at com.google.tracing.TraceContext.runInContext(TraceContext.java: 689) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java: 327) at com.google.tracing.TraceContext $AbstractTraceContextCallback.runInInheritedContext(TraceContext.java: 319) at com.google.tracing.TraceContext $TraceContextRunnable.run(TraceContext.java:447) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1110) at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.io.IOException: Internal error at com.google.appengine.api.mail.MailServiceImpl.doSend(MailServiceImpl.java: 123) at com.google.appengine.api.mail.MailServiceImpl.send(MailServiceImpl.java: 33) at com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.java: 247) ... 38 more On Jul 23, 8:39 am, martin waller wrote: > Hello > > Myappseems to have hit problems sending email. It has been working fine until > yesterday around 13:00 gmt. From that point on I'm getting an io exception > being thrown with the error text of "internal error". Has anyone else seem > similar issues I wonder? > > Martin -- 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-appengine@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: MailService Exception after exactly 66 messages
Hello, I too have seen this problem. I think it's down to the quota mechanism. If you read the top line on the "Quota Details" page it says that if you hit 50% of the quota by half way through the day then you may exceed the quota by the end of the day. I think, because of this, if it seems you burning through your quota it assumes you've exceeded it somehow! Sounds daft to me as you should only hit the limit when you hit the limit and not when it thinks you're going to hit the limit. Does this help? Martin On Jun 19, 5:10 pm, NRworld Apps wrote: > Hi, > > Thanks for replying, but my mail quota is still under the max limit. I am > still clueless about this issue. And I do not have any other applications on > this account which are sending emails. > > MailMail API Calls > [image: 61%] > 61%61 of 100OkayRecipients Emailed > [image: 3%] > 3%66 of 2,000OkayAdmins Emailed > [image: 0%] > 0%0 of 5,000OkayMessage Body Data Sent > [image: 0%] > 0%0.00 of 0.06 GBytesOkayAttachments Sent > [image: 0%] > 0%0 of 2,000OkayAttachment Data Sent > [image: 0%] > 0%0.00 of 0.10 GBytesOkay > > > > On Sat, Jun 18, 2011 at 8:43 PM, Branko Vukelic wrote: > > Email has multiple quotas. It's not just the number of email sent, but > > also the size of the messages, etc. > > > Mail API Calls 100 > > Recipients Emailed 2,000 > > Admins Emailed 0 of 5,000 > > Message Body Data Sent 0.06 GBytes > > Attachments Sent 2,000 > > Attachment Data Sent 0.10 GBytes > > > You can see how you're doing in Quota details section. > > > On Sun, Jun 19, 2011 at 2:36 AM, nrworld wrote: > > > I forgot to mention that the email-id are proper and do not contain > > > any " or any spl. character. It just that for some reason, the app > > > will stop sending emails after 66 emails (App Dashboard shows 66mails > > > sent). > > > > Even re-uploading the app does not solve the issue. > > > > On Jun 18, 5:52 pm, nrworld wrote: > > >> Hi, > > > >> This is something strange that is happening with my app. It stops > > >> sending new mail after 66 mails everyday (I can send mail again after > > >> quota reset). Any pointers would be very helpful. > > > >> The following is the portion of my code which sends email: > > > >> public String sendEmail(InviteeInfo inviteeInfo) throws Exception { > > >> CapabilitiesService service = CapabilitiesServiceFactory > > >> .getCapabilitiesService(); > > >> CapabilityStatus status = > > service.getStatus(Capability.MAIL) > > >> .getStatus(); > > > >> if (status == CapabilityStatus.DISABLED) { > > >> throw new Exception("Google mail service is > > unavailable"); > > >> } > > > >> Properties props = new Properties(); > > >> Session session = Session.getDefaultInstance(props, > > null); > > > >> String msgBody = getEmailBody(inviteeInfo); > > > >> try { > > >> Message msg = new MimeMessage(session); > > >> msg.setFrom(new InternetAddress( > > >> " > > this_is_myreal_gmail...@gmail.com", "APP OWNER")); > > > >> msg.addRecipient(Message.RecipientType.TO, new > > InternetAddress( > > >> inviteeInfo.getEmailId().trim(), > > inviteeInfo.getCallName() > > >> .trim())); > > >> msg.addRecipient(Message.RecipientType.BCC, new > > InternetAddress( > > >> user.getEmail(), > > user.getNickname())); > > >> msg.setSubject(" You Are Invited "); > > >> msg.setContent(msgBody, "text/html"); > > >> msg.addHeader("Content-Type", "text/html"); > > >> Transport.send(msg); > > >> } catch (Exception e) { > > >> log.warning("Exception at " + > > inviteeInfo.getEmailId() > > >> + " from your id " + > > user.getEmail() + "\n" > > >> + getException(e)); > > >> } > > >> return "not successful"; > > >> } > > > >> Exception points to the line - "Transport.send(msg);", which means > > >> that the Google mail service was up and running at the time. > > > >> And this is the exception message > > >> net.nrworld.server.InviteManagerServiceImpl sendEmail: > > >> javax.mail.SendFailedException: MailService IO failed > > >> (java.io.IOException: Internal error) > > >> at > > > com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.java: > > >> 253) > > >> at javax.mail.Transport.send(Transport.java:95) > > >> at javax.mail.Transport.send(Transport.java:48) > > >> at > > >
[google-appengine] java.io.IOException: Internal error while sending email.
Hello, I seem to have a recurring problem sending email. Billing is not enabled for the application and come tomorrow, when the quotas get reset, it will start working again for a while. The stack frames that cause the error are: Caused by: java.io.IOException: Internal error at com.google.appengine.api.mail.MailServiceImpl.doSend(MailServiceImpl.java: 123) at com.google.appengine.api.mail.MailServiceImpl.send(MailServiceImpl.java: 33) at com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.java: 247) ... 39 more As for the quotas they are currently sitting at: Mail Mail API Calls 17% 17 of 100 Okay Recipients Emailed 0% 10 of 2,000 Okay Admins Emailed 0% 6 of 5,000 Okay Message Body Data Sent 0% 0.00 of 0.06 GBytes Okay Attachments Sent 0% 0 of 2,000 Okay Attachment Data Sent 0% 0.00 of 0.10 GBytes Okay Which are all OK, and are no where near the limits. Can anyone help me to understand this issue? Many thanks Martin -- 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-appengine@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: App Engine is finished, here's why
Hello, Everyone seems to believe that GAE is finished. I'd like to hear where people are planning to move their applications too, both the Python users and the Java users? Martin On 1 Sep 2011, at 10:00, Raymond C. wrote: > I see it's end too: > > - those who are leaving will absolutely never look back again > - those who left will never recommend anyone to use GAE again or even > recommend to stay away from Google's product because of the awful experience > - if GAE havent took off in the past 3 years, I dont see why it will after > this change > -> a platform with not enough user will just being faded out naturally > > GAE has never been a supervisor product in my opinion. We bet on Google, > hoped for the best, and now Google intend to destroy everything we've built > in the past three years. > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/Ri0fGinW-x8J. > To post to this group, send email to google-appengine@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. -- 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-appengine@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] Managing Dev and Live versions
I was wondering what the best advice is for managing a live version of an app and a dev version of an app? I found the following on the web: 1. App Versions are strings, not numbers Although most of the examples show the 'version' field in app.yaml and appengine-web.xml as a number, that's just a matter of convention. App versions can be any string that's allowed in a URL. For example, you could call your versions "live" and "dev", and they would be accessible at "live.latest.yourapp.appspot.com" and "dev.latest.yourapp.appspot.com". 2. You can have multiple versions of your app running simultaneously As we alluded to in point 1, App Engine permits you to deploy multiple versions of your app and have them running side-by-side. All the versions share the samedatastore and memcache, but they run in separate instances and have different URLs. Your 'live' version always serves off yourapp.appspot.com as well as any domains you have mapped, but all your app's versions are accessible at version.latest.yourapp.appspot.com. Multiple versions are particularly useful for testing a new release in a production environment, on real data, before making it available to all your users. Something that's less known is that the different app versions don't even have to have the same runtime! It's perfectly fine to have one version of an app using the Java runtime and another version of the same app using the Python runtime. What I don't like about this is that all the versions share the same datastore and memcache which is fine if you want to test on live data but if you want a test datastore where to can delete everything and go again then it's not going to work. How do people manage this? Do they setup two distinct apps to do this I wonder? Many thanks for any help you can give. Martin -- 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-appengine@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: Managing Dev and Live versions
Hi, Does that mean you create a different application for each dev/test - as shown on the "My Applicatiions" Page. I'm not sure how you create different instance in the cloud, I can see how you might do it on a local test server. If you do upload multiple versions - by changing appengine-web.xml - you could have instances of the different version running but do they not share datastore and memcache? Martin On 23 Sep 2011, at 10:25, Tim Hoffman wrote: > Hi > > I run a complete separate instances for dev/test/uat with their own data. > > Then final testing with live data in production instances before making the > new version the default. > > > Rgds > > Tim > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/Gc-EWjmFwEYJ. > To post to this group, send email to google-appengine@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. -- 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-appengine@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] Send Email on GAE
Hello, If you don't have billing turned on the chances are it will fail! Martin Sent from my iPhone On 20 Oct 2011, at 05:23, Leandro Rezende wrote: > I have Two applications with the same Code, the same onwer in the same > google account. > One of them the emails are sent, in the other it fails and i receive > this exception msg " MailService IO failed (java.io.IOException: > Internal error)" > > this is the code > > String SMTP_AUTH_USER ="x...@gmail.com"; > Properties props = new Properties(); > >Session session = Session.getDefaultInstance(props, null); >try >{ >Message msg = new MimeMessage(session); >msg.setFrom(new InternetAddress(SMTP_AUTH_USER, "Admin")); >msg.addRecipient(Message.RecipientType.TO,new > InternetAddress("u...@email.com","User Name")); >msg.setSubject(titulo); >msg.setContent(texto, "text/html"); >Transport.send(msg); >} >catch (Exception e) >{ >System.err.println(e.getMessage()); >} > > does anyone have any idea why this is happening? > > -- > 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-appengine@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. > -- 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-appengine@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] Send Email on GAE
In that case I'd wait until your quota get reset and try them both then. Martin Sent from my iPhone On 21 Oct 2011, at 18:35, Leandro Rezende wrote: > i dont understand why it ALWAYS work in one application and never work at the > other. > > they both dont have billing turned on. > > 2011/10/21 Martin Waller > Hello, > > If you don't have billing turned on the chances are it will fail! > > Martin > > Sent from my iPhone > > On 20 Oct 2011, at 05:23, Leandro Rezende wrote: > > > I have Two applications with the same Code, the same onwer in the same > > google account. > > One of them the emails are sent, in the other it fails and i receive > > this exception msg " MailService IO failed (java.io.IOException: > > Internal error)" > > > > this is the code > > > > String SMTP_AUTH_USER ="x...@gmail.com"; > > Properties props = new Properties(); > > > >Session session = Session.getDefaultInstance(props, null); > >try > >{ > >Message msg = new MimeMessage(session); > >msg.setFrom(new InternetAddress(SMTP_AUTH_USER, "Admin")); > >msg.addRecipient(Message.RecipientType.TO,new > > InternetAddress("u...@email.com","User Name")); > >msg.setSubject(titulo); > >msg.setContent(texto, "text/html"); > >Transport.send(msg); > >} > >catch (Exception e) > >{ > >System.err.println(e.getMessage()); > >} > > > > does anyone have any idea why this is happening? > > > > -- > > 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-appengine@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. > > > > -- > 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-appengine@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. > > > -- > 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-appengine@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. -- 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-appengine@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] javax.mail.SendFailedException: MailService IO failed (java.io.IOException: Internal error)
I have seen such issues due to billing not being turned on. Martin Sent from my iPhone On 3 Nov 2011, at 07:03, dc4ual wrote: > Hi, > > I have my application hosted in App Engine. It was running fine but > suddenly I started getting IO Exception while sending mail > > Here is the code I am using for sending the mail: > > public void postMail(String recipient, String subject, String message) >throws Exception { > >Properties props = new Properties(); >Session session = Session.getDefaultInstance(props, null); > >Message msg = new MimeMessage(session); >msg.setSentDate(new Date()); >log.severe("mail sending to: " + recipient); >msg.setFrom(new InternetAddress("...@gmail.com")); >msg.setRecipient(Message.RecipientType.TO, new > InternetAddress(recipient)); >msg.setSubject(subject); >msg.setContent(message, "text/plain"); >Transport.send(msg); > >} > > Please tell me where I am wrong. > > -- > 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-appengine@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. > -- 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-appengine@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] Sender ID Framework
Hello, I seem to have a problem with hotmail treating email that I send from an app running on the Google App Engine as SPAM, even though it is not. I was wondering if anyone had setup a Sender ID Framework to work with the Google App Engine to solve this type of problem and whether it worked or not? Many thanks Martin -- 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-appengine@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: Dirty issues with GAE left unanswered
Hello, I would second that. The backup process is almost non-existent! Now we are paying for this service we should have access to some backup mechanism. I'd like to see something on the servers where we could, at the click of a button, create a save point and wide back to save points. I don't want to have to download my data to my local machine. Martin On 11 Nov 2011, at 08:47, Niklas R wrote: > +2: > http://code.google.com/p/googleappengine/issues/detail?id=3258 > http://code.google.com/p/googleappengine/issues/detail?id=5165 > My main problem that stops me from calling my system "real" is that backup is > not working. If I have I data failure I won't have a backup. There is nothing > that stops my development so I still think GAE is the one best web > application development platform ever, it's just that if my backup system > isn't working I really don't think it can call my system a real professional > system. In my case it is an issue > Thanks > Nick Rosencrantz > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/yfe4mMfN2ycJ. > To post to this group, send email to google-appengine@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. -- 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-appengine@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: What happened to the promised reliability improvement for email delivery?
The email needs to be sorted. No email sent to a hotmail account from the app engine seem to arrive! Sent from my iPhone On 12 Nov 2011, at 19:36, pdknsk wrote: > If Google announced to drop further support for the mail API, that > would be fine, because developers can make an informed decision then. > > I'm mostly interested in DKIM, which has the potential to really > improve reliability and seems (from my basic understanding) almost > trivial to implement. Why? It's already set up when you register a > domain through Google Apps. Google adds DKIM headers automatically to > all emails send from the Google Mail interface. So all that's missing > is an additional dkim parameter which automatically adds those headers > when sending through App Engine. > > It might even be possible for developers to calculate and add those > headers themselves, if Google adds DKIM-Signature to allowed headers. > > -- > 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-appengine@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. > -- 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-appengine@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] Why is the Email Service so unreliable
Hi, I've been trying out Amazom Web Services SES for the last week and it seems to be fine. It gives you so much more detail about mail send and mail that gets rejected. I'm going to stop using the GAE mail interface. Martin On 20 Nov 2011, at 18:57, Leandro Rezende wrote: > i have the same problem. i just give up looking for a solution. > > i hope this problem does not happen when i change my application to the > billling status. > > 2011/11/20 Jeff Gager > I have written an app that sends email notifications to it's users > under some circumstances. Sometimes it works, other times it doesn't. > The code doesn't change and I am using the same small set of emails > addresses to send and receive emails so I can't see what I am doing > wrong. > > When it fails I get exceptions that begin like this; > > MessagingException: MailService IO failed (java.io.IOException: > Internal error) > javax.mail.SendFailedException: MailService IO failed > (java.io.IOException: Internal error) >at > com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.java: > 253) >at javax.mail.Transport.send(Transport.java:95) >at javax.mail.Transport.send(Transport.java:48) >at com.hotf.server.EmailService$1.run(EmailService.java:119) > > So I thought I would set up a deferred task queue and configure it to > keep trying every 15 minutes until it works. > > Now emails fail with the same error for anything up to eight or nine > hours, then without reason or explanation the email service will > suddently start working and all the emails will be delivered. > > I have searched through this group and found and number of people have > had problems but I don't think any of them apply to the testing I am > doing. I am sending from the email address of the apps administrator > account, I have no quotes in my email addresses etc... > > The only lead I haven't followed up yet is that someone suggested the > email service is unreliable if you don't enable billing. So before I > take that step, can someone point out anything else I may be doing > wrong please. > > My code is; > > Properties props = new Properties(); > Session session = Session.getDefaultInstance(props, null); > > try { > > Message msg = new MimeMessage(session); > msg.setFrom(new InternetAddress("x...@gmail.com", "SUBJECT")); > String email = a.getEmail().replace("\"","").replace("'", "").trim(); > msg.addRecipient(Message.RecipientType.TO,new InternetAddress(email, > a.getName())); > msg.setSubject(subject); > msg.setText(body); > log.info("Sending notification email to " + email); > Transport.send(msg); > > } catch (UnsupportedEncodingException e) { > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > e.printStackTrace(); > throw new RuntimeException(e); > > } catch (AddressException e) { > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > e.printStackTrace(); > throw new RuntimeException(e); > > } catch (MessagingException e) { > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > e.printStackTrace(); > throw new RuntimeException(e); > > } catch (Exception e) { > > log.severe(e.getMessage()); > e.printStackTrace(); > throw new RuntimeException(e); > > -- > 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-appengine@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. > > > > -- > 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-appengine@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. -- 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-appengine@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: Why is the Email Service so unreliable
I forgot to add that we now pay for this service and if we are finding it to be failing us then we really should be getting a refund! Martin On Nov 21, 9:21 am, Martin Waller wrote: > Hi, > > I've been trying out Amazom Web Services SES for the last week and it seems > to be fine. It gives you so much more detail about mail send and mail that > gets rejected. I'm going to stop using the GAE mail interface. > > Martin > > On 20 Nov 2011, at 18:57, Leandro Rezende wrote: > > > > > > > > > i have the same problem. i just give up looking for a solution. > > > i hope this problem does not happen when i change my application to the > > billling status. > > > 2011/11/20 Jeff Gager > > I have written an app that sends email notifications to it's users > > under some circumstances. Sometimes it works, other times it doesn't. > > The code doesn't change and I am using the same small set of emails > > addresses to send and receive emails so I can't see what I am doing > > wrong. > > > When it fails I get exceptions that begin like this; > > > MessagingException: MailService IO failed (java.io.IOException: > > Internal error) > > javax.mail.SendFailedException: MailService IO failed > > (java.io.IOException: Internal error) > > at > > com.google.appengine.api.mail.stdimpl.GMTransport.sendMessage(GMTransport.j > > ava: > > 253) > > at javax.mail.Transport.send(Transport.java:95) > > at javax.mail.Transport.send(Transport.java:48) > > at com.hotf.server.EmailService$1.run(EmailService.java:119) > > > So I thought I would set up a deferred task queue and configure it to > > keep trying every 15 minutes until it works. > > > Now emails fail with the same error for anything up to eight or nine > > hours, then without reason or explanation the email service will > > suddently start working and all the emails will be delivered. > > > I have searched through this group and found and number of people have > > had problems but I don't think any of them apply to the testing I am > > doing. I am sending from the email address of the apps administrator > > account, I have no quotes in my email addresses etc... > > > The only lead I haven't followed up yet is that someone suggested the > > email service is unreliable if you don't enable billing. So before I > > take that step, can someone point out anything else I may be doing > > wrong please. > > > My code is; > > > Properties props = new Properties(); > > Session session = Session.getDefaultInstance(props, null); > > > try { > > > Message msg = new MimeMessage(session); > > msg.setFrom(new InternetAddress("x...@gmail.com", "SUBJECT")); > > String email = a.getEmail().replace("\"","").replace("'", "").trim(); > > msg.addRecipient(Message.RecipientType.TO,new InternetAddress(email, > > a.getName())); > > msg.setSubject(subject); > > msg.setText(body); > > log.info("Sending notification email to " + email); > > Transport.send(msg); > > > } catch (UnsupportedEncodingException e) { > > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > > e.printStackTrace(); > > throw new RuntimeException(e); > > > } catch (AddressException e) { > > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > > e.printStackTrace(); > > throw new RuntimeException(e); > > > } catch (MessagingException e) { > > > log.log(Level.SEVERE, "MessagingException: " + e.getMessage(), e); > > e.printStackTrace(); > > throw new RuntimeException(e); > > > } catch (Exception e) { > > > log.severe(e.getMessage()); > > e.printStackTrace(); > > throw new RuntimeException(e); > > > -- > > 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-appengine@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. > > > -- > > 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-appengine@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appengine@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] app failing to start up ! Just started failing this morning!
Hi, Does anyone else have this problem? 4 /index.jsp 500 151351ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b W 2012-02-16 11:08:22.569 Failed startup of context com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@1933acb{/,/ base/data/home/apps/s~nettrekking/1.3568304249805 C 2012-02-16 11:08:22.575 Uncaught exception from servlet javax.servlet.UnavailableException: Initialization failed. at com.google.apphosting.runtime.jetty.AppVersionHandlerMa I 2012-02-16 11:08:23.443 This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This requ W 2012-02-16 11:08:23.443 A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for -- 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-appengine@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] Update facebook status from Google App Engine - Java
Hello, I currently have an app running on the Google App Engine and I would like to post a facebook status from with the app - probably from a task on the task queue. I already do this for twitter and that seems to be working well. I've created the facebook app required to allow this to happen but I've not found any good code on the web to provide any indication on the best way to do this. Can anyone provide me with some good pointers please? Martin -- 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-appengine@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] Email to app is being bounced back?
Hello, Can anyone explain why my inbound email is getting bounced please? Many thanks Martin Delivery to the following recipient failed permanently: pcr.229014.331007.d9c8d649- f825-4862-8bdc-3eab252e4...@nettrekking.appspotmail.com - Original message - Received: by 10.180.91.35 with SMTP id cb3mr218306wib.0.1330419823743; Tue, 28 Feb 2012 01:03:43 -0800 (PST) Return-Path: Received: from nm2-vm0.bt.bullet.mail.ukl.yahoo.com (nm2- vm0.bt.bullet.mail.ukl.yahoo.com. [217.146.182.242]) by gmr-mx.google.com with SMTP id el7si10118561wid. 2.2012.02.28.01.03.43; Tue, 28 Feb 2012 01:03:43 -0800 (PST) Received-SPF: neutral (google.com: 217.146.182.242 is neither permitted nor denied by best guess record for domain of martin@the- wallers.net) client-ip=217.146.182.242; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 217.146.182.242 is neither permitted nor denied by best guess record for domain of mar...@the-wallers.net) smtp.mail=martin@the- wallers.net; dkim=pass (test mode) header.i=@yahoo.com Received: from [217.146.183.197] by nm2.bt.bullet.mail.ukl.yahoo.com with NNFMP; 28 Feb 2012 09:03:43 - Received: from [217.146.183.204] by tm3.bt.bullet.mail.ukl.yahoo.com with NNFMP; 28 Feb 2012 09:03:43 - Received: from [127.0.0.1] by omp1002.bt.mail.ukl.yahoo.com with NNFMP; 28 Feb 2012 09:03:43 - X-Yahoo-Newman-Id: 565257.2631...@omp1002.bt.mail.ukl.yahoo.com Received: (qmail 20041 invoked from network); 28 Feb 2012 09:03:43 - DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1330419823; bh=vDWzAWP2pURHaK0uDje7yCH +dP89hzloUlahS4q87ro=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo- SMTP:Received:Message-ID:From:To:Subject:Date:MIME-Version:Content- Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=j8b9f3pec12g9Ra818v4Fz7YOS/U+PEx9bO+oTG0pEV6S5jor3hUFnHoM6kCY6k3FX9/ Aob1WWSpmGVUJq545bt0PQRWCBud1dxQ8sflvyhrz9pesQwjnPnUVY61sKgN6KipfhSSidfhVNa1XKriTLIfMFZqkDCRmA +a9jYwSTQ= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5rlJ9cIVM1l3wyZk8DiV2u.lRv0JLDOVcBJbyJJNeWNcxXw DAAp6aVAd8XCW7uw3M5b_0p.aJoeEzuwiCeQKVnHe_kxD9XcR.CC2R5.b_L1 2BoQ8mIASv.D6JRJfS5wSXepbnCFBVIXaeJMlVzkIvLoom6D.OzLKZKpckhf E23mDW.sJsFH5wLI41cyx9lfvGq_V1K_4AVaAcHync1_gYzyAuYDhwek7PQp sWAEb5r15cuPI6O1Fri7p1OZnbVUFUkMUWl38E_tDGGg.9gvViKsSjbLffG. 0pZRrU_wr2Xvp1xsSzN_yg.P.uOzrau8UoiEjX_wm4XHi527yJA0kZUhQ_zc Dn9cdhIdD.2IF1U.qhf4o.NyeGQ4a0iy5txN8RQPlEsywQ9O3Z0zXRRfq70n tihDNoGZudYfbOVX.mgP71n4zGzdSyl.uuIUMiK.GvAiMajjqRo1.Ms.VZFS K6.IrdbTd9Qk0npyiWMoe3VO4EQwJlGn2QYvUSO9G.e6p_k1A9X1dO084L2d uG9eiqy3mN_29.j2aadOsN9rJ0hRM7Kqq3pGOBfOtYoKRz1CBWvN6JaUiG_J 01Vo.pz_lg6TlAuFfASM- X-Yahoo-SMTP: V7ss41SswBB. 9IaOCN7lHlBkgqR1KzRAZ8HJKkgelfjWffo8I1aq37PF9g-- Received: from rockallh (Martin@86.142.168.121 with login) by smtp826.mail.ukl.yahoo.com with SMTP; 28 Feb 2012 01:03:42 -0800 PST Message-ID: From: "Martin Waller" To: Subject: Fw: Delivery Status Notification (Failure) Date: Tue, 28 Feb 2012 09:03:46 - MIME-Version: 1.0 Content-Type: multipart/alternative; -- 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-appengine@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] Issue after HRD migration: 100 email quota until first charge cleared
I moved away from google to send out emails. My app now uses Amazon simple email and it seems to be fine! Martin Sent from my iPhone On 10 Mar 2012, at 08:59, Jonathan wrote: > Hi Christina > I've a similar problem, after the first 100 recipients the delivery is > blocked. After 24hours there is a reset , and so on. > I have 10$/day budget but it does not help. > > app-id: or-point > > > On Monday, March 5, 2012 10:56:52 PM UTC+2, Christina Ilvento wrote: > Hi Anders, > > Would you please enter your M/S and HRD app-ids in the migration quota bump > request form at > https://docs.google.com/a/google.com/spreadsheet/viewform?formkey=dENESzEwNzJiZEdpQkRzTl9RNElVWUE6MQ#gid=0 > > > > > Thanks, > Christina > > On Sun, Mar 4, 2012 at 1:13 PM, Anders wrote: > I did a migration of an old application to the high replication > datastore over the weekend. Everything looked fine at first but now I > am having an issue with the email quota. > > Since the email quota is 100 emails before the first charge is cleared > and I just enabled billing on my new application I have to wait until > the end of the week (when the first charge is made) before I am able > to send out emails. Isn't there some way to be charged directly and > not wait for the end of the period? > > Did anyone ran into the same issue and found a solution? I am sending > some thousand emails a day to customers so this was a very unfortunate > consequence of the migration. > > -- > 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-appengine@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. > > > > > -- > > Christina Ilvento | Google App Engine | cilve...@google.com | (650)-201-9399 > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/jofN1t-t1JEJ. > To post to this group, send email to google-appengine@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. -- 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-appengine@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.