Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

TkMailer

by ait (Hermit)
on Aug 25, 2005 at 17:48 UTC ( [id://486665]=sourcecode: print w/replies, xml ) Need Help??
Category: E-Mail Programs
Author/Contact Info Alejandro Imass ait@cc.com.ve
Description: Client/Server tool to send mails to many users that you have in a database. It reads a template file and will display a tree of objects in a Tk client you can build you mail on the fly based on the template. Then you choose the users you want to send it to, and send the MIME to the TkMailer server which in turns injects them into the QMail queue.

Even if you don't use Qmail, this program has a bunch of tricks and reusable code that you may need to build stuff like this. Things like Tk tricks, simple locale, sql tricks, MIME, templates, recursive functions, socket communication and many more. The code is very well documented for begginers and the code is not obfuscated, in fact it is perhaps too clear for many here. I built it for a client so they could maintain it themselves, so everything is very ordered, simple and clear. Great learning tool I guess.

If you would like to take this application further, be my guest but please drop me a line to see where it ends up, and of course, respect my choice of license.
Get it from here.
Have fun!

--
Alejandro
Replies are listed 'Best First'.
Re: TkMailer
by zentara (Archbishop) on Aug 26, 2005 at 11:14 UTC
    Hi, I don't have qmail installed to fully test it, but it has some neat code in it. Thanks.

    I needed to change 2 instances of "command" to "-command" in client/MAIN_WINDOW.pm to get it to run. Must be typo's, since you have many other -command 's in there. :-)


    I'm not really a human, but I play one on earth. flash japh
      Hmm, strange since it's in production at a travel agency! But that's what free software is all about: that you can help yourself and help others who will help you too.

      Don't hessitate to send me a note if you need to clarify something in the code. I guess you can find stuff on CPAN like QmailQueue for Sendmail, EXIM and the rest, but this client in particular had Qmail and that's what we used for the project.

      As I pointed out in the code posting, if you want you can take over this project and formalize TkMailer if you find an interest in your community to do so.

      --
      Alejandro
        It's probably because I have a later version of Tk, which is more of a stickler for putting the '-' in front of options.

        I'm not really a human, but I play one on earth. flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: sourcecode [id://486665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found