mailx in script

Frank Murphy frankly3d at gmail.com
Wed Jun 12 08:31:15 UTC 2013


On Wed, 12 Jun 2013 10:12:52 +0200
Reindl Harald <h.reindl at thelounge.net> wrote:

Apologies for re-arranging
Harald said something which got me thinking 1:

1:
> mailx does nothing else than invoke the "sendmail" binary shipped
> with sendmail/postfix/exim
> 

> Am 12.06.2013 09:27, schrieb Frank Murphy:

> > #!/bin/bash
> > mailx -s"Azureus has restarted" me at me.place \n
> > "It's probably crashed again."
> > 

Changed this to:
echo "It's probably crashed again." | mailx -s "Azureus has restarted"
me at me.place


Now working, with no second "null message ..."

-- 
Regards,
Frank - I check for new mail app. 20min
www.frankly3d.com


More information about the users mailing list