[google-appengine] Re: Can't send attachment to Admin Email

2012-05-22 Thread Larry
Hi all,
   I have done a test by JavaMail as following.
1. send email with attachment to any email address=> success and increase 
the quota of Recipients Emailed
2. .change the recipient to admins from step 1 => 
fail.Exception:java.lang.IllegalArgumentException: 
Bad Request: Admin message exceeds size limits
3. remove the attachment from step 2.=> Success and increase the quota of 
admins emailed.

*Could I conclude that Email to admins with attachments is forbidden?*
I don't see any document about that.

Larry於 2012年5月18日星期五UTC+8下午12時38分42秒寫道:
>
> 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 content");
>  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.
>
>
>
Larry於 2012年5月18日星期五UTC+8下午12時38分42秒寫道:
>
> 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 content");
>  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.
>
>
>
Larry於 2012年5月18日星期五UTC+8下午12時38分42秒寫道:
>
> 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 content");
>  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/-/4ymVJZlNmc4J.
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.



[google-appengine] Re: Can't send attachment to Admin Email

2012-05-20 Thread Larry
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("x...@gmail.com");
>>  message.setSubject("This is test");
>>  message.setHtmlBody("this is content");
>>  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 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.



[google-appengine] Re: Can't send attachment to Admin Email

2012-05-18 Thread abdelkrim boujraf
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 content");
>  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.