Solved

pop3 to smtp

Posted on 2000-02-14
3
396 Views
Last Modified: 2010-04-02
I know this is not a true c++ q, but I'm going to write it in c++..eheh.
Anyway, I want to write a pop3 to smtp
prg.  I understand and have all the risks involved in doing that.  I'm not really satisfied with what's on the net and want to write my own.  

Goal:
Write  a pop3 gateway and forward it to and smtp server.

Q:  What rfc's should I be concerned with dealing with pop3 and what kind of gotcha's should I be aware of when writing this type of program.

Any advise would be appreciated.  I plan on using MSVC's ATL as an NT service.
0
Comment
Question by:ivanh
[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
3 Comments
 
LVL 1

Accepted Solution

by:
JMu earned 200 total points
ID: 2520430
POP3 is described in rfc1939 and SMTP in rfc821.

http://www.cis.ohio-state.edu/htbin/rfc/rfc821.html

http://www.cis.ohio-state.edu/htbin/rfc/rfc1939.html

Just write a POP3 client and a SMTP client. I don't see any gotcha's here.

JMu
0
 
LVL 6

Expert Comment

by:WxW
ID: 2520432
POP3 -> SMTP ?

1.Learn WinSock programming
2.Find the POP3 RFC . I haven't yet , i just learned it from telnet...
3.Find the SMTP RFC ( the save as above ...)
4.why do u really need that program
5.there are g00d gateways already
....
....
last-1.im tired to say more
last.You have better to use a plain C++ . I dont know what ATL is , but messing with internet services as POP3 i don't think that u can use anyother thing .
0
 
LVL 1

Author Comment

by:ivanh
ID: 2520745
I guess I should have worded the question differently.  I'm trying to write a POP3 poller, have the program read the headers of the mail and then forward the message to an smtp server to the correct person.  Lastly, I need to make sure I retain the envelope information, etc.  Your right, there are a lot of people selling one for about $170 USD.

I have heard of people talking about some sort of X-Envelope-???.  What is considered a sure way to determine the destination of the message and so on.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

740 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