Can you send a message without the attachment?

Is the sender (email address) a developer or an owner of the application?

Abdelkrim
http://blog.i14y.net
http://www.alt-f1.be

Le vendredi 18 mai 2012 06:38:42 UTC+2, Larry a écrit :
>
> 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/-/VXRqkwvGsbQJ.
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