I have a program to upload mail messages to a GMail account. It uses
MailItemService.Batch() (C#) to upload 50 messages at a time. Most of
the time it works fine, I have successfully uploaded several hundred
messages in 50-item chunks.

However, I have one tester who reports that on a particular set of
mail messages, he gets the above assertion failure repeatedly (i.e.,
every time he runs the program) on the first call to
MailItemService.Batch(). 46 of the first 50 messages arrive
successfully in GMail.

This indicates to me that the initial authentication must have
succeeded, but somewhere along the way the auth token gets wiped out.
Why would this be so? How do I prevent it?

I am certain that my batch() call is not exceeding the 32mb limit (the
entire set of messages is only 5mb, and I'm only sending the first
50....)

As a secondary question: as I create new MailItemEntry instances, is
there some what to estimate their eventual size? How can I reliably
determine that I'm not exceeding the 32MB upload limit?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" 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-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to