Menu

#1 Failed to parse some response (from mailbox Trash)

open
SiuYing
g4j API (6)
5
2004-09-28
2004-09-23
SiuYing
No

Detail:
GMailer failed to open email in Trash, and leave error in
logs: Error read reply from gmail: Message: Unknown
message type!

Discussion

  • SiuYing

    SiuYing - 2004-09-23

    Logged In: YES
    user_id=1087376

    Reason:
    When requesting mail in trash, Gmail do not directly send a
    response with the data of the mail (as other mailbox(, but
    send a java script redirection. This have to be handled before
    such message can be parsed.

    Sample HTML:
    <html><head><meta content="text/html; charset=UTF-8"
    http-equiv="content-type"></head><script>D=
    (top.js&&top.js.init)?function(d){top.js.P(window,d)}:function
    (){};if(window==top){top.location='/gmail?
    search=inbox&view=cv&th=fecef96352f6a7e&zv=-
    1023570661&fs=1';}</script><script><!--
    D(["v","5d9767464467f1c9"]);
    D(["tm"]);
    //--></script><script>var loaded=true;
    D(['e']);
    </script><script>try{top.js.L(window,62,'efce3d7f25');}catch
    (e){}</script>

     
  • SiuYing

    SiuYing - 2004-09-28
    • assigned_to: nobody --> siuying
     
  • SiuYing

    SiuYing - 2004-09-28

    Logged In: YES
    user_id=1087376

    The redirection code is added, but more problem arise, testing
    and identifying bugs

     

Log in to post a comment.