I'm getting OverQuotaError from mail.Send(). Since I have just several
recipients and send just a few emails out per day, I believe it should
be an email-over-size error.

So I want to check whether the size of an email exceeds the limit of
1M before sending out, but I don't see a convenient method to get the
size from an EmailMessage.
Now I'm unwrapping EmailMessage into body, html, and attachments, and
decoding them into byte strings, and finally adding the size one by
one. It is quite tedious.
Is there any better way to calculate the size of an EmailMessage?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to