Hi All,
     I fail to send email to *admins *of app.
     Here is my code 

     MailService mailService = MailServiceFactory.getMailService();
     Message message = new Message();
     message.setSender("x...@gmail.com");
     message.setSubject("This is test");
     message.setHtmlBody("this is <b>content</b>");
     Attachment attachment = new Attachment("test.pdf", blob.getBytes()); 
// blob size = 488k
     message.setAttachments(attachment);
     mailService.*sendToAdmins*(message);

     In the Logs of Administration Console, a warning:
    Bad Request: Admin message exceeds size limits

   here is the detail quota:
MailMail API Calls
[image: 0%]
0%0 of 7,000OkayRecipients Emailed
[image: 0%]
0%0 of 100OkayAdmins 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.00 of 0.00 GBytes*OkayAttachment Data Sent
[image: 0%]
0%0.00 of 0.10 GBytesOkay
 Is it problem of  "Attachments Sent"? It should be 2,000 attachments.
 Anybody can help me? Thank.


-- 
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/-/_t1LgABITn0J.
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.

Reply via email to