header

Torsten Curdt’s weblog

Sending mails from the shell on OSX

Although OSX has unix guts I sometime found it a little annoying that cannot just do a

( echo "..." ) | sendmail -t 

to send mails from a script. Well, of course you can. You just have to set it up under OSX. If you don’t want to tinker around with the configs yourself you can use postfixenabler to do the dirty work for you. Nice.

    blog comments powered by Disqus