I want to use a control file where I have all my mail Ids stored in a directory say Ex: /abs/pqr/send_mail.ctrlSample of control send_mail.ctrlabc@domain.comstr@domain.in-----------Now I want to export that list which I declared in ctrl file in my main script where I am using mailx command to send the mail.How should I handle this situation without changing the main script to sent mail to list of dynamic users which is changing on daily basis ?
sending mail for frequently changing users
shell script