Hi Abdelkrim,
I can send the email without the attachment.
And the Admins Emailed quota increase.
The sender is the owner of the application.
PS I can send email with attachment by Javamail.
It is only 100 Recipients only.
abdelkrim boujraf於 2012年5月19日星期六UTC+8上午5時08分30秒寫道:
>
> 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("[email protected]");
>> 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/-/Og87oQ3j3IQJ.
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?hl=en.