January 14th, 2006

southpark

OS X question

Because all knowledge is contained in LJ...

I would like to send mail from a shell script running on my Mac. How do I configure the "mail" command (or other command-line mail client) to send mail via my ISP using SMTP?

I'd rather not set up sendmail locally, nor do I need a fully-featured command-line mail client. I just want to send.