Click to See Complete Forum and Search --> : Need a C mail library


Roachclip
09-10-2001, 01:10 AM
Im revamping my pager business. Im gonna sell my retail customers, and concentrate on my resellers, but to do this I have to create a program to do most of the work for me.

My solution: create a program that will enable my resellers to dial in from thier offices on to one of my linux boxes. In essence create a BBS of sorts.

Now, Iam new to C and im looking for a library to do mail. Iv searched sourceforge and the only thing i can come up with is libmailclient. I spoke with Todd Merritt, the project admin, and he says that its in the planing stages and likly to be there quite a while. Now there is "libmutt", what the Balsa guys are use`n, but thats nothing more than a hack, and too much work for my too short of a time period.

Well let me take a step back and explain, my plan is to take advantage of what software is already out there. For instance, the database: mysql, the login procedure: let linux do it, bulitin boards(message conferences): inn, mail: sendmail, etc. I say why reinvent the wheel. Iv seen other BBS software for linux some of wich have their own login prompt. My solution is, just let the user run the BBS as a shell.

I just need a library to do the mail, and if Im lucky, it'll do usenet too,...

Thanks,...
btw, when finished it will be gpl'ed,...

[ 10 September 2001: Message edited by: Roachclip ]

jemfinch
09-10-2001, 02:22 PM
So basically what you're doing is installing programs on a shell box?

So install mutt and slrn. Problem solved for both mail and usenet.

Jeremy

Roachclip
09-10-2001, 06:56 PM
No, not exactly. I wouldnt refer to it as a shell. More of a BBS. I dont want them to have access to the file system or anything, and besides, I want to design the user interface myself.

I dont want to give them too many options. Some of these people aren't the brightest in the world. Options confuse them. I need something extreamly simple. I feel the need to do it all myself. However, I haven't the knowledge/experence or time to create the mail & news libraries myself.

If need be, I guess I'll have to push back my release date, learn more, and create these libraries myself. I found a mail library last night, but Im not going to pay money for it. If I have to create it myself, I release the mail and news libraries by them selves (gpled of course). So that others can benifit from my having to create them. Because I know if someone is try`n to sell mail and news libraries, there must be need for them, besides my own.

[ 10 September 2001: Message edited by: Roachclip ]

pinoy
09-10-2001, 09:12 PM
I can help you build the mail library if you want. If you just need a client, with no queueing, retry strategies, etc (ie just a dumb client who relies on a 'smart' host to perform delivery, mx lookups, etc. I can write this quickly for you. Unfortunately this also won't do things like attachments. If you want that, that's a little bit more work, because we have to do all the mime and base64 stuff. I'm sure there's probably already a library that would format an rfc822 message anyway.

Roachclip
09-11-2001, 01:11 AM
Well thanks, Lloyd!

I got your e-mail addy from your profile. I'll be send you a message in the morn with the peticulars.

Im also gonna be setting up a project for this on sorceforge. The projects working name is PSRS for Pager Service Reseller System.

Thanks again!