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.