Script to send a mail in UNIX

Hi,

I need to write one unix script gor sending a mail notification.
I have to pass the followinf as arguments,from ,to,subject,messege body

Can i use mailx....Please provide the code

Thanks in advance.

1 Like

Please use the search facility.

Mailx had been answered many times :slight_smile:

1 Like