How to send EML data in chuck to Google Apps Mail using Google API ver 2 ?
- by Preeti
Hi,
I am migrating EML mails to Google Apps.
When i try to Migrate a EML file with two attachment 2.1 MB and 1.96 MB.
It is throwing exception:
"The request was aborted: The request was canceled."
I am using below code:
MailItemEntry[] entries = new MailItemEntry[1];
String msg = File.ReadAllText(EmlPath);
entries[0] = new MailItemEntry();
entries[0].Rfc822Msg = new Rfc822MsgElement(msg);
........
MailItemFeed feed = mailItemService.Batch(domain, UserName, entries);
I think sending data can resolve this issue.So,how can send this EML data in chunk to Google Apps?
Thanx