The python client for the email migration api still uses the deprecated 
base64 encoding method and does not work with oauth2, so I am planning on 
writing a custom client.

The 
documentation<https://developers.google.com/google-apps/email-migration/>says:
To migrate mail messages into a hosted Gmail account, issue multipart 
POSTrequests, [...] the second part contains the complete RFC 822 message as 
UTF-8 text.

What if the message contains 8 bit characters in a non-utf8 character set? 

e.g.
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

Am I supposed to recode the message as utf8? Encode the body/affected 
message parts with base64 or quoted-printable (so that the HTTP body is 
ASCII/utf8 even if the email message is not)? 

I have done some tests, and it appears the migration service currently 
accepts 8bit iso8859-1 messages, and Gmail displays them the same as 8bit 
iso8859-1 messages delivered by smtp.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/RR6bZAz-aeYJ.
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-mgmt-apis?hl=en.

Reply via email to