Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Import contacts from Gmail and Yahoo in Asp.net

Import contacts from Gmail and Yahoo in Asp.net

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NetMan2012
    wrote on last edited by
    #1

    Hello, I am trying to import gmail and yahoo contacts in my asp.net website. i m using OpenContactsNet.dll and using following code GmailExtract extractor = new GmailExtract(); NetworkCredential nc = new NetworkCredential(txtUserName.Text, txtPassword.Text); bool res = extractor.Extract(nc, out list); But this code is'nt working. I got false responseFrown what could be the reason?? The .Extract function gives the following error when executes the line of code HttpWebResponse exportResponse = (HttpWebResponse)contactsRequest.GetResponse(); Error: The remote server returned an error: (401) Unauthorized Please help me in this regard as i have tried every thing. I place the app on www root but still no luck.. plzz help

    L 1 Reply Last reply
    0
    • N NetMan2012

      Hello, I am trying to import gmail and yahoo contacts in my asp.net website. i m using OpenContactsNet.dll and using following code GmailExtract extractor = new GmailExtract(); NetworkCredential nc = new NetworkCredential(txtUserName.Text, txtPassword.Text); bool res = extractor.Extract(nc, out list); But this code is'nt working. I got false responseFrown what could be the reason?? The .Extract function gives the following error when executes the line of code HttpWebResponse exportResponse = (HttpWebResponse)contactsRequest.GetResponse(); Error: The remote server returned an error: (401) Unauthorized Please help me in this regard as i have tried every thing. I place the app on www root but still no luck.. plzz help

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I found following link very useful to do the same.. http://forums.asp.net/t/1144790.aspx[^] In above link you will also find information regarding OpenContactsNet.dll and use of it. HTH

      Jinal Desai - LIVE Experience is mother of sage....

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups