I don't get error but I post message to include attachment file. The body message can not be displayed and attachment file can not be decoded properly??
when I am generating new messages programmatically. its can do properly between body message or attachment file but can not together?? Why?? On Apr 5, 11:45 pm, "Alex (Google)" <[EMAIL PROTECTED]> wrote: > Hi, > > Do you have an error message from the Email Migration service? Can > you post the code to reproduce the error? > > Are you using the Java or .NET client library? Or did you write your > own Email Migration API client? > > -alex > > On Apr 2, 9:39 pm, Bam <[EMAIL PROTECTED]> wrote: > > > > > It is sample RFC882 format but can not post properly?? > > > Received: by SDA-TEST-EXCH1.test.local > > id <[EMAIL PROTECTED]>; Mon, 3 Mar 2008 > > 19:29:17 -0700 > > Content-class: urn:content-classes:message > > MIME-Version: 1.0 > > Content-Type: multipart/mixed; > > boundary="----_=_NextPart_001_01C87D9F.8B9EF382" > > Subject: Test email with CC > > Date: Mon, 3 Mar 2008 19:24:44 -0700 > > X-MimeOLE: Produced By Microsoft Exchange V6.5 > > Message-ID: <[EMAIL PROTECTED] > > EXCH1.test.local> > > X-MS-Has-Attach: yes > > X-MS-TNEF-Correlator: > > Thread-Topic: Test email with CC > > Thread-Index: Ach9nujCoKKBKGiUQpKTrv9fj9HWJQ== > > From: "admin_test" <[EMAIL PROTECTED]> > > To: "admin_test" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > > This is a multi-part message in MIME format. > > > ------_=_NextPart_001_01C87D9F.8B9EF382 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML = > > DIR=3Dltr><HEAD><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/ > > html; = > > charset=3Diso-8859-1"></HEAD><BODY><DIV><FONT face=3D'Arial' = > > color=3D#000000 size=3D2>Text description with = > > CC</FONT></DIV></BODY></HTML> > > ------_=_NextPart_001_01C87D9F.8B9EF382 > > Content-Type: text/plain; > > name="link.txt" > > Content-Transfer-Encoding: base64 > > Content-Description: link.txt > > Content-Disposition:attachment; > > filename="link.txt" > > > aHR0cDovL3d3dy5tc2V4Y2hhbmdlLm9yZy9hcnRpY2xlcy9BY2Nlc3MtRXhjaGFuZ2UtMjAwMC0y > > MDAzLU1haWxib3gtV2ViREFWLmh0bWw= > > > ------_=_NextPart_001_01C87D9F.8B9EF382-- > > > What Happened?? > > > thanx,, > > > On Mar 31, 3:04 pm, "Sam Johnston" <[EMAIL PROTECTED]> wrote: > > > >http://www.faqs.org/rfcs/rfc822.html > > > > On Mon, Mar 31, 2008 at 4:06 AM, Bam <[EMAIL PROTECTED]> wrote: > > > > > Can you give me RFC822 format which includeattachmentfile?? > > > > > On Mar 30, 2:33 pm, "Alex (Google)" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Instead of generating multi-part message by hand, you should use a > > > > > client library for whatever language you are programming in. For > > > > > example, in Java you could use classes from javax.mail.internet in > > > > > JavaMail API. > > > > > > The link I sent before shows an example of an email with a text > > > > > message part and anattachmentpart: > > > > > >http://en.wikipedia.org/wiki/MIME#Multipart_messages > > > > > > Keep in mind the Email Migration API is for migrating existing > > > > > messages which should already be in RFC822 format. If you are > > > > > generating new messages programmatically, you should just use SMTP, > > > > > IMAP or POP3 to insert them. > > > > > > -alex > > > > > > On Mar 28, 9:16 pm, Bam <[EMAIL PROTECTED]> wrote: > > > > > > > How about format message when the message include body message and > > > > > >attachmentfile?? > > > > > > Or the place of between body message andattachmentstructure > > > > > > > It's example my format: > > > > > > > message += "Date: Sat, 29 Mar 2008 10:12:26\n"; > > > > > > message += "From: [EMAIL PROTECTED]"; > > > > > > message += "To: [EMAIL PROTECTED]"; > > > > > > message += "CC: [EMAIL PROTECTED]"; > > > > > > message += "Subject:attachment\n"; > > > > > > message += "MIME-Version: 1.0\n"; > > > > > > message += "Content-Type: text/plain\n"; > > > > > > message += "Content-Description: link.txt\n"; > > > > > > message += "Content-Transfer-Encoding: base64\n"; > > > > > > message += "Content-Disposition:attachment;filename=\"link.txt\"\n"; > > > > > > message += > > > > > "aHR0cDovL3d3dy5tc2V4Y2hhbmdlLm9yZy9hcnRpY2xlcy9BY2Nlc3MtRXhjaGFuZ2UtMjAwMC0yMDAzLU1haWxib3gtV2ViREFWLmh0bWw="; > > > > > > message += "OK"; > > > > > > > Thanks,- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
