Solved

pop3 to smtp

Posted on 2000-02-14
3
394 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
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
C++ assignment question 7 237
VS2015 compilation and missing DLLs 9 164
Safe conversion? 4 72
One named event, multiple event handlers 2 24
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

828 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