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. General Programming
  3. C#
  4. Secure POP3 Connection with Gmail.

Secure POP3 Connection with Gmail.

Scheduled Pinned Locked Moved C#
4 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.
  • E Offline
    E Offline
    Eddymvp
    wrote on last edited by
    #1

    I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?

    L E 2 Replies Last reply
    0
    • E Eddymvp

      I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?

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

      Hi You can use SecLib from Mentalis.Org to establish an SSL - Connection. If you're looking for a Library that supports ssl check http://www.codeproject.com/cs/internet/pop_-_class.asp[^] it's going to be updated soon and the new version supports ssl if you use the framework 2.x, there's a built-in library that supports almost the same things as the mentalis library does for the 1.x framework greets m@u -- modified at 10:47 Wednesday 14th March, 2007

      1 Reply Last reply
      0
      • E Eddymvp

        I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?

        E Offline
        E Offline
        Eddymvp
        wrote on last edited by
        #3

        I'm using .net 2.x, What is the name of the package and also the name of the class.

        L 1 Reply Last reply
        0
        • E Eddymvp

          I'm using .net 2.x, What is the name of the package and also the name of the class.

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

          There's the System.Net.Security - Namespace in the System.dll of the .Net Framework it contains a class called sslStream. i think to use it you'll have to reference also the System.Security.dll for initializing the stream. here's a little example of how to use it http://msdn2.microsoft.com/en-us/library/system.net.security.sslstream.aspx[^] greets m@u

          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