Hi,
Background:
   I am writing a program which intercepts the gmail Http session
(specifically the post), encrypts mail messages, and then lets the
session continue with the newly encrypted information embedded in the
post.

Problem:
   My program uses the "to" and "from" fields in the HTTP session post
to select the appropriate encryption keys,  but the new version of
gmail doesn't have the "from" field (the old one did).

Questions:
  How do I get around this problem? Can I request that the gmail team
put this field back in? Is there another way?  Am I even asking in the
right place?

Example:

###################### START EXAMPLE ###################

POST /mail/?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1
Host: mail.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: XXXXXXXXXXXXXXXXXXXXXXX
Accept-Encoding: gzip,deflate
Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://mail.google.com/mail/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
Cookie:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Content-Type: multipart/form-data;
boundary=---------------------------19081902032562
Content-Length: 1015

######################################
#
#                   The commented out "from" field is
#                   available in the old version, but not the new
version
#
######################################

#-----------------------------19081902032562
#Content-Disposition: form-data; name="from"
#
[EMAIL PROTECTED]
#

######################################
######################################

-----------------------------19081902032562
Content-Disposition: form-data; name="to"

"OK" <[EMAIL PROTECTED]>,
-----------------------------19081902032562
Content-Disposition: form-data; name="cc"


-----------------------------19081902032562
Content-Disposition: form-data; name="bcc"


-----------------------------19081902032562
Content-Disposition: form-data; name="subject"

aaaaaaaaaaaaaaaaaaa
-----------------------------19081902032562
Content-Disposition: form-data; name="body"

11111111111111111111111111111

-----------------------------19081902032562
Content-Disposition: form-data; name="ishtml"

1
-----------------------------19081902032562
Content-Disposition: form-data; name="draft"

undefined
-----------------------------19081902032562
Content-Disposition: form-data; name="rm"

undefined
-----------------------------19081902032562--



###################### END EXAMPLE ###################


Thanks!!
  Fotoflo
--~--~---------~--~----~------------~-------~--~----~
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