c# - How to get full summary from atom feed from gmail -
im geting summary not full summarry of bady of mail, please tell how it
my coding:
    //logging in gmail server data             objclient.credentials = new system.net.networkcredential("xxx@gmail.com", "password");             //reading data , converting string             response = encoding.utf8.getstring(objclient.downloaddata(@"https://mail.google.com/mail/feed/atom"));               response = response.replace(                  @"<feed version=""0.3"" xmlns=""http://purl.org/atom/ns#"">", @"<feed>");              //loading xml can information             doc2.loadxml(response);              //nr of emails         string nr = doc2.selectsinglenode(@"/feed/fullcount").innertext;              //reading title , summary every email             foreach (xmlnode node in doc2.selectnodes(@"/feed/entry"))             {                 title = node.selectsinglenode("title").innertext;                 summary = node.selectsinglenode("summary").innertext;             }       
 
Comments
Post a Comment