• IT Systems Engineering

    Send mail from a script in Solaris

    I used mailx command, here is the syntax: If you want to send to one person: echo “body of the e-mail” | mailx -s “test subject” recipient@hotmail.com If you want to CC to multiple people: echo “body of the e-mail” | mailx -s “test subject” –c “mail1@live.com,mail2@live.com” recipient@hotmail.com