On Sunday, June 20, 2004 at 7:57:42 PM you wrote
n>>> Why does blat use different syntax from the venerable sendmail?
Post by Tim Musson
One answer could be "which of the 10,999,999 options of sendmail
should Blat support?"
By the time we incorporated all the bits everyone wanted we would
have sendmail in it's entirety, I would think.
One way I know sendmail is used is to pass it a file with all
headers included. You *can* also do this with Blat! Use the -raw
Which sendmail options were you looking at?
n> Tim wrote, "Which sendmail options were you looking at?" It is not
n> so much a matter of options as it is traditions. Blat is already
n> more then flexible and powerful enough for any project I have come
n> across so far.
n> The thing is so many perl scripts, in particular, have the
n> "location of sendmail" configuration requirement. Not that I am any
n> where near clever enough but it seems to me that if I was going to
n> write a windows outgoing mail module I would follow the same
n> command line tradition as sendmail. This way it would have been a
n> drop in replacement for so many applications.
Ah, I see now where you are coming from.
Blat's origin was to just send a quick eMail from the Command line in
Windows. It has sense matured into what it is now, but (guessing here)
it only started being used as a 'replacement' for *nix sendmail around
the 1.8.x level. By this time, it was a *long* way down it's
development path - which was *very* different than sendmail...
IIRC sendmail's origin was as an MTA (it's been about 6 years sense I
read the O'Reilly sendmail book
http://www.oreilly.com/catalog/sendmail3/index.html ). The ability to
send from the command line was added later.
n> At least those that only need out going email. I would have no need
n> to write little perl scripts to sit between the application and
n> Blat. How many perl applications have you seen that ask "location
n> of Blat"?
One mainly - formmail.pl from "Matt's Script Archive" then modified to
run on Win32 (I can't recall the exact link). However, it has been
re-written to clean it up, etc and now no longer uses Blat, it sends
with Perl modules ( http://nms-cgi.sourceforge.net/ ).
n> Please don't misunderstand me. Linux, FreeBSD, Sun, etc. are all
n> wonderful platforms. I would use them myself in a commercial or
n> industrial setting. But for home and hobby use windows rules. I
n> also love the GPL license. It allowed me to pick up many different
n> ways of writing. However, I am a hobbyist. My time is my own.
n> Blat works slightly different then Sendmail. I strongly suspect
n> this has slowed down good things like Apache for windows. People
n> get put off and tend to dismiss free and open source software as a
n> toy or second rate. This allowed the IIs server, for example, to
n> proliferate. I suspect many of these box's end up being zombies. It
n> does not seem to me that many folks are lazy, it's just that
n> learning a scripting language is a bit too demanding. Mostly in
n> matters of time. At first. Now, if they can copy a script and get
n> it up and running. That is something that can generate enough
n> interest to foster further pursuits. Like learning a script
n> language. Email is pretty much a basic requirement for so many
n> things. It shouldn't be hard for a basic setup.
n> Well, I've wondered far enough off topic here. It just that a
n> different tradition for blat seems like reinventing the wheel. I've
n> never understood why.
Actually, I think this is right on topic.
Not sure I would say anything about Blat is "reinventing the wheel" I
just looked in an old 1.1 archive, and the blat.exe has a 1994 date!
Yes, sendmail is older, but I don't think they were ever on parallel
n> My guess is the answer is palpable. I'm just too dense to see it.
n> Know of a good book I could read on this subject?
I know of many good books, but to point you at one would be hard. For
sendmail, I would suggest the one I referenced above. For Blat, I
don't know of one. For SMTP mail I would go with the sendmail book and
read the RFC's (lot's of them referenced on the Blat web site).
If you want to ask the book question a little more specifically, maybe
I can be more specific.
Flying with The Bat! eMail v2.11.02
...If you try to fail, and succeed, which have you done?
Blat Manager, current version is 2.2.2, see www.blat.net
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!