As a follow up from my previous post, I have had some more ideas about this mail client/server. I think I would write this using C# and as the server is in no way graphical is completely cross-platform. The server side actually has a very simple task. For now, I am assuming it is only dealing with mail.
If the server ran C#, then a simple System.Net.Sockets.TcpListener class would sort out the server aspect of it. The only real thing that has to be thought out is how to store the main, and in what format… I’d definately send out XML to clients, and with C#, that too would be terrifically easy! So there are really only a few things to be decided about the server:
Note: the word send in this context means transferring data from server to client. I’m not dealing with sending e-mails yet! Although, I expect sending emails would be pretty easy, just send some XML from the client to server and send it through some kind of MTA.
Retrieving the mail would also be a bit of an issue- how? rely on an existing mail server or what? This is completely undecided and does not need to be thought of until mail storage (the main point of this project) is sorted.
If that worked, then the other things what would be great are:
But I think the most important part of this whole project is the name…
Leave a Reply