Solved

Windows API for NNTP/SMTP/POP

Posted on 1998-07-16
5
549 Views
Last Modified: 2013-11-20
What options do I have for directly using NNTP/SMTP or POP protocols from a Visual C++, or Visual Basic app?

I want to be able to add news posting and email send-receive to an application.

What is the Windows API to these internet services?
0
Comment
Question by:scce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:alamo
ID: 1319373
There's no specific API, the only way to access them is to use a control to open a tcp/ip socket to the server and then speak the appropriate protocol.

At the lowest level is direct socket programming, or the Winsock control, but you'd have to learn and implement each server's protocol. Much better would be to use one of the controls available that implement the protocols for you and so have a very high-level interface.
0
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1319374
You need to do Windows Socket programming.

The following Web site provides Winsock Programming tutorial. There is an NNTP/SMTP/POP3 client example.
http://users.neca.com/vmis/wsock.htm

For SMTP and POP3, you can also use the following code directly.

http://www.codeguru.com/internet/smtp2.shtml
http://www.codeguru.com/internet/smtp.shtml

http://www.codeguru.com/internet/mailchecker.shtml
http://www.codeguru.com/internet/pop3_protocol_class_wrapper.shtml
0
 

Author Comment

by:scce
ID: 1319375
Excellent, thanks, chensu.  I had no idea that neca.com site was available.  What a brilliant resource.

Are you aware of any cheap or free high-level libraries that wrap Winsock?

Thanks again.
0
 
LVL 23

Expert Comment

by:chensu
ID: 1319376
0
 

Author Comment

by:scce
ID: 1319377
Thanks again!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 174
Smart Camera scanning and reading information 3 128
pre4 challenge 19 116
How do I get Window Title of all opened process? 4 61
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question