0

Directly Linking to an email message

In a browser extension for IE 8, I am using the following to directly link to an
e-mail message in Yahoo All-New mail:
http://mrd.mail.yahoo.com/msg?mid=<Yahoo! Mail message ID>&fid=<Yahoo! Mail folder ID>

I was able to enter the http request directly in the browser, but it only worked if
the email message was in the Inbox folder. This does not make sense since an
fid can be specified (I tried both a string and an integer for the fid). When the link
failed, I was always returned to the after-login startup screen not being in an
folder at all.

When programmed, a blank e-mail message was always returned. What was
interesting is that when the IXMLHTTPRequest interface indicated the request
was completed, the status, which should be OK (value 200 in my case), was
set to 0, which is an undocumented value. The minimum value documented
is 100.

If the above link is entered directly in the browser while in Yahoo Classic, the link works
whether you are in the Inbox or any other folder.

Does anyone have any insight into what the above HTTP communication
problem could be with Yahoo All-New Mail? Do I need additional parameters for the
above HTTP request? Should I be using a different link to directly link to an e-mail msg
in Yahoo All-New Mail?

Thank you

by
1 Reply
  • It was suggested that I need to set the User Agent in the HTTP headers.
    Therefore, I did this by using IXMLHTTPRequest interface method
    setRequestHeader() , after calling the open() method, with the following
    string: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;)

    The behavior is the same. Any insight into this issue would be appreciated.

    Thank you,

    Petros

    QUOTE (Petros @ Oct 5 2009, 07:42 PM) <{POST_SNAPBACK}>
    In a browser extension for IE 8, I am using the following to directly link to an
    e-mail message in Yahoo All-New mail:
    http://mrd.mail.yahoo.com/msg?mid=<Yahoo! Mail message ID>&fid=<Yahoo! Mail folder ID>

    I was able to enter the http request directly in the browser, but it only worked if
    the email message was in the Inbox folder. This does not make sense since an
    fid can be specified (I tried both a string and an integer for the fid). When the link
    failed, I was always returned to the after-login startup screen not being in an
    folder at all.

    When programmed, a blank e-mail message was always returned. What was
    interesting is that when the IXMLHTTPRequest interface indicated the request
    was completed, the status, which should be OK (value 200 in my case), was
    set to 0, which is an undocumented value. The minimum value documented
    is 100.

    If the above link is entered directly in the browser while in Yahoo Classic, the link works
    whether you are in the Inbox or any other folder.

    Does anyone have any insight into what the above HTTP communication
    problem could be with Yahoo All-New Mail? Do I need additional parameters for the
    above HTTP request? Should I be using a different link to directly link to an e-mail msg
    in Yahoo All-New Mail?

    Thank you
    0
This forum is locked.

Recent Posts

in Support & General Questions