Hacker News new | ask | show | jobs
Show HN: Mailer – our in-house tool for sending email from the command line (dirwiz.com)
21 points by dirwiz 3832 days ago
6 comments

No provided source code? Is this 1990?
Obviously not, in 1990 it would have been published to Usenet group comp.sources, and all you would get would be source. OK, perhaps also a Makefile and a man page. (All packed in a .shar text file, a "shell archive" script that would run and unpack itself.)

Also, at least BSD used to come with /bin/mail, which would send mail from the command line as described. 'mail -s test joe@example.com < file.txt', if memory serves.

Complaining when getting something for free? Is this 2015?
Considering what it does, the consequent benefits to it being open source, and that there are already open source tools to do this out there, it does not seem like an unfair criticism.
Having it open source is undoubtedly better, however one can simply ask for the source as often people do. Snark just leads to people not bothering at all.
As the old expression goes, "open source is more than just source code".

Honestly --and I'm not trying to be snarky here-- in this case, I'm not sure I understand how "not bothering at all" would actually be worse. Maybe I don't understand something about the value.

There are people making comments asking for help on OSX so they might have a different opinion than you, but beyond that we also have to consider other members seeing these kinds of comments may decide not to bother. So yes, you don't care about this project, but you might care about other projects that may never see the light of day as a consequence.
Direct link to tool: https://www.dirwiz.com/mailer/
Author here.. Thanks. After re-reading the post the link was buried in the article and not that obvious..
Have you considered Open Sourcing this? I'd like to use it and I like the syntax. But I'd feel more comfortable if I could check out the source.
Seems crazy that it's not being open sourced even though they make sure to state they use open source tools on their site.
Yup, no open source, no thank you.
This is probably a dumb question, but how do I get this to work in OS X? Bash says it cannot execute binary file despite chmod +x /path/to/mailer - thanks.
Good question. If we can figure out OS X in VirtualBox we should have a good shot at getting a build for Mac working.. Stay tuned...
>> It runs on every platform we can think of (Windows 64bit, Linux 32 & 64 Bit, Raspberry Pi!)

How would I go about running the binary on OS X? I assume it's possible? Thanks...

Good question. If we can figure out OS X in VirtualBox we should have a good shot at getting a build for Mac working.. Stay tuned...
Just curious what it's written in?
Plain 'ol C using gcc to compile and UPX to shrink the size.
In a similar vein but open source is ssmtp. It's a simple MTA that hands off the dirty work of sending e-mail to a real mailserver, and can be configured to use your existing SMTP server as a bounce point, or if you're running a personal server, your gmail account.
I personally use msmtp [0].

[0]: http://msmtp.sourceforge.net/

I'm not clear as to why anyone thought this tool was needed or was any more complex than a simple script. This functionality is built in to most platforms.
I prefer swaks
Thanks for posting! It looks nice!