I could create a simple email script like
mailx -s "Subject" email_address < $Template
My problem is embedding some coded variables in $Template
so that it will use local variables passed to the script such
name, date, etc. I could have just typed in the body of the email and use ${var} but the $Template is file created by a program and the verbiage could be different at any given time.
Is this possible?
I would appreciate any help and any sample.
manniej
mailx -s "Subject" email_address < $Template
My problem is embedding some coded variables in $Template
so that it will use local variables passed to the script such
name, date, etc. I could have just typed in the body of the email and use ${var} but the $Template is file created by a program and the verbiage could be different at any given time.
Is this possible?
I would appreciate any help and any sample.
manniej