Link to home
Start Free TrialLog in
Avatar of ivanh
ivanh

asked on

pop3 to smtp

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.
ASKER CERTIFIED SOLUTION
Avatar of JMu
JMu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of WxW
WxW

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 .
Avatar of ivanh

ASKER

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.