POP3/SSL Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written a POP3 class using sockets & it works perfectly fine.

When I try and check an account like Gmail, which uses SSL, my program
freezes. How do I make my POP3 class SSL compatible

Gmail info (not needed to answer this question though):

POP3: pop.gmail.com
Port: 995
SSL: Yes

Any valid suggestions (not google group searches links please Mr MVP)
 
Nah, that aint no good.

I'm hardly reinventing the wheel when I have a POP3 class which functions
perfectly unless I use SSL

Anyone with a proper anwer please let me know - thanks
 
I've read your question and I'm sure I can help...

On the other hand... you are rude.

So, instead of explaining the solution nicely, I'll just give you the links.
http://aspalliance.com/articleViewer.aspx?aId=342&pId=1


--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
Thank you for your link & sorry if you think I am rude. I just speak my mind

The reason I wrote what I did in my original post is to stop the Austrian
MVP (Herfried K. Wagner) from just doing a Google Group search & come up with
something which is no use whatsoever.

The gentleman who replied saying about not re-inventing the wheel... said it
a little late when the class has been written. Besides, I always write my own
code/classes rather than copy/paste (steal) other people's code & call it my
own.

The link you gave me looks great & no, I don't need you to talk me through
it. I do have 25 years programming experience in 5 different languages (more
actually), but never bothered until recently to get into socket programming
with VB.NET

Thanks again for the link.
 
That article is just selling a package really, but it does give some insight.
I won't use the package because I will write my own.

Thanks for pointing me toward it though.
 
If you are referring to the link to EasyMail, yes, the link does mention
that the best way to "do" SSL is to use a component.

The reason for that is explained in the 8 previous pages... writing your own
SSL layer is HARD and nearly never worth it (unless your time is worth about
$1/hour, which is what it will cost you to write it yourself.

You have to go through a complicated handshake to perform SSL
communications. You don't just "turn it on." The handshake involves the
exchange of certificates, the generation of a session key, the establishment
of a session cookie that can be recognized by firewalls and load balancers,
and the encryption and decryption of data using two different encryption
schemes.

Good Luck.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
Crouchie1998 said:
The reason I wrote what I did in my original post is to stop the Austrian
MVP (Herfried K. Wagner) from just doing a Google Group search & come up
with
something which is no use whatsoever.

Bla bla...
 
Hi Nick

There is a Security class which has SSL available here:

http://www.mentalis.org/soft/projects/seclib/

Its a superb project actually!!

On this project my time is my own because I am writing this application for
myself & it will NEVER be commercially available. All the other projects I am
working on professionally provide me with the finance my lifestyle has got
used to :)

I will (100% sure of that) write this class, but I saw on a message board
that the person who wrote the Gmail (account I am writing this SSL for)
notifier used the library I provided the link to above.

I too are a MCP/MCSE
 
mentalis

Hello there. Did you get this working. I'm trying to connect to gmail using the mentalis library and I can't get it going. Any help would be appreciated.

-MJC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top