Hi to all,
Can any one help me, How To send/receive emails
through ssl or pop3 server like gmail who uses ssl. I have tried with
winsock control but it can't work with gmail. Please can anyone provide
me code for send /receive gmails email using pop3 or ssl.
Regard
Software/Hardware used:
WINDOWS OS XP,VISUAL BASIC 6.0
ASKED:
October 7, 2011 10:12 AM
UPDATED:
March 31, 2012 12:30 AM
First thing you need is ssl-enabled e-mail client – fortunately, most of the clients are ssl-enabled nowadays.
Second, you need to configure properly your mail account with respect to pop3 and smtp servers.
You can use standard ports (110 for pop3 and 25 for smtp) together with STARTTLS which means that the connection is initiated as unencrypted, and then server and client negotiate the encryption if both of them are ssl-enabled , or “secure ports” (995 for pop3s and 465 for smtps) together with “plain” SSL which means that encryption negotiation should be the first thing during connection initiation, and no connection will be started if any of the server or client is not ssl-capable.
So no winsock have to be used/controlled directly – it could be done, but for test purposes only.