Solved

pop3 to smtp

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

724 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