A trace on the code shows me that the line in the previous code > ms.sendToAdmins(msg); fails
So, my hypothesis is that a prerequisite is not fulfilled In the code, I use the Low Level API, which doesn't need a specific configuration (I believe it) In the log, I see 2585cpu_ms with a warning saying 'This request used a high amount of CPU and may soon exceed is quota' I don't see where my code use a such amount of CPU On 7 avr, 13:26, moissinac <[email protected]> wrote: > Tried the following code > MailService ms = MailServiceFactory.getMailService(); > MailService.Message msg = new MailService.Message(); > msg.setSubject("Tu as réussi cette étape"); > ms.sendToAdmins(msg); > > without more result. > > The code is executed in the development server (without sending email > as specified by the documentation) > And do nothing visible in the GAE server. > > On 2 avr, 18:12, KarthikR <[email protected]> wrote: > > > Hi > > > The java API javadoc > > athttp://code.google.com/appengine/docs/java/javadoc/com/google/appengi... > > provides send() and sendToAdmins() methods, Can you try using > > sendToAdmins() ? > > > Regards, > > KarthikR > > > On Apr 1, 7:17 am, moissinac <[email protected]> wrote: > > > > Hello > > > > I have servlet with a code copied from the documentation for sending > > > an email with the mail service > > > Each time I call the service, I see the trace in the quota count like > > > this: > > > Mail > > > Mail API Calls 0% 0% 5 of 7000 Okay > > > Recipients Emailed 0% 0% 5 of 2000 Okay > > > Admins Emailed 0% 0% 0 of 5000 Okay > > > ... > > > The count for Mail API Calls and Recipients Emailed is incremented > > > each time > > > > My code send an email from the admin of my domain to the admin of my > > > admin, but the item Admins Emailed is never incremented > > > > The admin of my domain (me) never receive an email by that mean. > > > If I send an email with gmail to the same address, it receive the > > > email. > > > > Advice? help? > > > Thank you inadvance -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
