Based on a search I did of this group it seems to me that it is
currently not possible to use GData to get at Gmail.
Can someone from Google;
1) Confirm this is the case (or not)
2) If not, address if/when this might become available
I realize Atom can be used and Atom/RSS applications are a dime a
dozen, but it seems that if opening up the calendar and contacts via
GData makes sense, it certainly makes sense for GMail.
Even read-only access would be very welcome, something like this:
Service gmailService = new Service("myApp");
gmailService.setUserCredentials(account, password);
FeedQuery gmailQuery = new FeedQuery("https://mail.google.com/mail/
feed/atom");
AtomFeed gmailFeed = gmailService.Query(gmailQuery);
Response.Write(gmailFeed.Entries.Count);
Response.Write("<br />");
for (Int32 loopMsg = 0; loopMsg < gmailFeed.Entries.Count; loopMsg++)
{
Response.Write(gmailFeed.Entries[loopMsg].Title);
Response.Write("<br />");
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---