Hi All!
I'm fairly new to Linux (getting better everyday) and new to Perl (this will be my first experience).
On our Linux box, we have a shell script that makes some changes to a file and emails the file to one or more users. Currently, the email is sent through MUTT, but we've only been able to send out a plain text body. Our internal client has asked that the emails come out with nicely formatted HTML and images using the same theme as their intranet site.
After looking around, it seems Mime::Lite would be an easy enough way to do this. I found the script I'm using on so I think I'm fairly good to go in that respect. Now I just need to figure out how to call the Perl script from the shell script and pass the to: variables as well as the path to the attachment.
This is where I'm stuck. I have no idea how to call a Perl script from the shell script. Help!?
Thanks,
Bob
I'm fairly new to Linux (getting better everyday) and new to Perl (this will be my first experience).
On our Linux box, we have a shell script that makes some changes to a file and emails the file to one or more users. Currently, the email is sent through MUTT, but we've only been able to send out a plain text body. Our internal client has asked that the emails come out with nicely formatted HTML and images using the same theme as their intranet site.
After looking around, it seems Mime::Lite would be an easy enough way to do this. I found the script I'm using on so I think I'm fairly good to go in that respect. Now I just need to figure out how to call the Perl script from the shell script and pass the to: variables as well as the path to the attachment.
This is where I'm stuck. I have no idea how to call a Perl script from the shell script. Help!?
Thanks,
Bob