473,322 Members | 1,566 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Help: SSL in PoP3 connection VB.NET 2

Request for assistance:

I'm in process of writing a PoP3 class in VB.NET 2 (VS 2005), and have
successfully managed to create a sub which will create a connection to
a PoP3 server on port 110 to download any waiting messages. I don't
want to use a pre-built component if at all possible. The following
code initiates the connection to the server and opens the stream for
input.
Dim TCP As Net.Sockets.TcpClient
Dim POP3Stream As System.IO.Stream
Dim inStream As System.IO.StreamReader

TCP = New Net.Sockets.TcpClient
TCP.Connect(strServer, 110)

POP3Stream = TCP.GetStream
inStream = New System.IO.StreamReader(POP3Stream)
[etc]

QUESTION: I also need to build SSL functionality into this application
to retreive messages from a service such as Google Email. I've found
the SSLStream class, but I'm unsure of how to implement this as I've
had no experience of native SSL functionality. I wondered if anyone
might be able to assist or point me in the right directions. Thanks
for your help.

Aug 3 '07 #1
1 2841
Hi there,

The .NET framework only supports SSL for HTTP. If you want to use SSL
for
another protocol, you'll have to use a 3rd party product.

There is / was a free SSL/TLS library for .Net here:

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

I hope that this gets you moving in the right direction

Cheers

The Frog

Aug 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dafella | last post by:
The following is code from Xeoport. It is suppose to access my pop3 account and load email into Mysql database. It's not inserting and there is no log or anything to tell me why. Here is the...
4
by: WebRod | last post by:
Hi everybody, I just would like to download the new mails I received on my POP3 server (and keep a copy on the server) I use PHP 4.3 and IMAP functions (they are compatible with both POP3 and...
1
by: Daniel Albisser | last post by:
Hi @ll, I was wondering why I lose the connection to the mail store while retrieving information from it without calling the method store.close()! At the end I found out that the method...
4
by: Paul Schmidt | last post by:
Dear list: I am new to python, and I am trying to figure out the short answer on something. I want to open a POP3 mailbox, read the enclosed mail using the POP3 module, , and then process it...
0
by: Eric McDaniel | last post by:
This may be a question for ActiveState support, but just in case anyone out there knows what the problem is... My call to Net::POP3->new() works fine when run through the perl interpreter, but...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
0
by: Ahmed, Shakir | last post by:
-----Original Message----- From: python-list-bounces+shahmed=sfwmd.gov@python.org On Behalf Of Werner F. Bruhin Sent: Monday, August 18, 2008 1:04 PM To: python-list@python.org Cc:...
1
by: sbettadpur | last post by:
hello, I am planning to connect to our incoming mail server i.e mail.xyz.com, from their i want to extract mail attachment i.e word document files(candidate resumes). For this I written code in...
3
sreekandank
by: sreekandank | last post by:
I want to implement POP3 program in java....I have written the code like... import javax.mail.*; import javax.mail.internet.*; import java.util.*; import java.io.*; public class POP3Client {...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.