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) 8 2199
Instead of reinventing the wheel, have you looked at http://www.indyproject.org/?
If I'm not mistaken, they have a secure POP class, or some variation there
of.
"Crouchie19 98" <Cr**********@d iscussions.micr osoft.com> wrote in message
news:9A******** *************** ***********@mic rosoft.com... 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.
--
"Crouchie19 98" <Cr**********@d iscussions.micr osoft.com> wrote in message
news:9A******** *************** ***********@mic rosoft.com... 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)
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.
"Nick Malik [Microsoft]" wrote: 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. -- "Crouchie19 98" <Cr**********@d iscussions.micr osoft.com> wrote in message news:9A******** *************** ***********@mic rosoft.com...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)
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.
"Crouchie19 98" wrote: 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)
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.
--
"Crouchie19 98" <Cr**********@d iscussions.micr osoft.com> wrote in message
news:85******** *************** ***********@mic rosoft.com... 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.
"Crouchie19 98" wrote:
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)
"Crouchie19 98" <Cr**********@d iscussions.micr osoft.com> schrieb: 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...
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
IMAP servers).
When I use OUTLOOK, no problem, in less than 5 seconds, it answers me:
" you have XX new messages"
|
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 fails when I compile the script with PerlApp and run it. My
system is Windows 2000, ActiveState Perl 5.8.0 build 806, PerlApp 5.2.0
build 520.
Here is the script:
|
by: Praveen Naregal |
last post by:
Hello all,
Does .NET includes any support for POP3 protocol? Or else any c#
implementation of POP3 client is available?
Regards,
--
Praveen Naregal
|
by: Hardy Wang |
last post by:
Hi,
I developed an application to read email from POP3 server. Some of the
codes are below:
-------------------------------------------------------------------------------
Server = new TcpClient(_MailServer, 110);
......
private string sendCommand(string command) {
byte szData;
NetStrm = Server.GetStream();
|
by: Mike Brearley |
last post by:
I need to write a script that will check a catch-all mailbox (pop3) and send
a non delivery report back to the sender of the email.
Background info:
I have a domain hosted on a site that offers unlimited email accounts... the
problem is, emails sent to an invalid address on the domain aren't
automatically returned as non-deliverable. I am, however, able to set up a
catch-all address and able to pick up those emails. Id like to set up a...
| |
by: Krach |
last post by:
Hi everybody!
I'm decided to develop (at least try) a custom pop3 connector / mail
downloader for Exchange 2003. The question is simple: How do I start? I use
MS Visual Studio 2003 (VB .Net). I want to build an app which first
retrieves all mail from our ISP and then delivers it to every Exchange inbox
folder in the company. So I guess I need first to build a pop3 client and
then manage to reroute those messages to the Exchange inbox...
|
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 to a PDA/palmtop via POP3. The PDA
uses Windows Mobile software. Since using the PDA, I have had the problem of
emails disappearing from the Yahoo! server. However I think I now understand
how to avoid this.
It seems that Windows Mobile is...
|
by: mp- |
last post by:
I want to be able to allow people to check their email from my PHP
online application.
Given only the users 1) email address, 2) username (if applicable) and
3) password - how can I auto detect a remote IMAP/POP3 server so that
I can connect and fetch mail for the user. (Ultimately, I don't want
users to have to know what the IMAP/POP3 server name / port is .... I
would like to auto-detect all of that).
At first I thought I could use...
|
by: Craig Buchanan |
last post by:
I would like to monitor a POP3 mailbox with multiple clients. However, I want
to ensure that each message is processed by only one client. In essence, I
would like to treat a POP3 mailbox like a queue.
From what I've read thus far, atomic message access (if this is the right term)
isn't a native feature of the POP3 protocol. Am I mistaken?
My approach thus far, is to have one thread connect to the mailbox periodically,
look for new...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |