Hi,

I am trying to Migrate email messages using the Google Apps Email
Migration API. C++ and curl is being used. I am able to Authenticate
and submit a batch job. The batch submission works fine and I'm
getting valid responses that tell me that processing the submission
fails. Some of these I've fixed but I'll present the ones below that
are failing.

I'm simply using the batch two-item feed example that is provided in
the Google Apps Email Migration API Developer's Guide. I removed the
", < and < entries and surrounded the RFC 822 message in
<CDATA>RFC 822 message</CDATA>. The problem is that the following
items

Message-ID:
<[EMAIL PROTECTED]>
From: 'Elizabeth Bennet' <[EMAIL PROTECTED]>
To: 'Fitzwilliam Darcy' <[EMAIL PROTECTED]>

fail because

<batch:interrupted reason='org.xml.sax. SAXParseException: Element
type "c
8acb6980707161012i5d395392p5a6d8d14a858
" must be followed by either attribute specifications,
">"('>') or "/>"('/>').' parsed='0'
success='0' error='0' unprocessed='0'/>

I've tried both > and /> and the same error message is still returned.

I also have the following questions regarding the Google Apps Email
Migration.

1) The JavaMail library is recommended to construct the RFC 822
messages. However, I'm using C++. Is there a library for C++? Is there
a program that will generate the constructs that I can then copy and
paste from for testing purposes?

2) How are contacts handled? The contact information and examples in
the Common Elements: "Kinds" directory seems quite different from the
examples in the API Developer's Guide and the Reference Guide. How do
I use the Common Elements: "Kinds" contacts information to get
contacts to migrate?

3) Does the Email Migration only provide for inserts? Can updates,
deletes, and other operations be done?

4) What can currently be done (updates, deletes, etc.)  with contacts
using the Common Elements information-using any of the available APIs?

5) What documentation needs to be read to provide me with a background
to write and troubleshoot the Email Migration API code?

Thank you,

Dave Chuggigration API code?

Thank you,

Dave Chugg
--~--~---------~--~----~------------~-------~--~----~
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