How about format message when the message include body message and
attachment file??
Or the place of between body message and attachment structure

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,
--~--~---------~--~----~------------~-------~--~----~
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