jsuresh has asked for the wisdom of the Perl Monks concerning the following question:
I'm using perl to take a report and then it will automatically send it as a mail to the users. How can I format the mail in perls? like I want to send using the below format.
Hi All
PLease find the report.
Thanks
AS Team
My current code to send mail is
system "echo $BODY | /usr/local/bin/email -f $MAIL_FROM -n \"RemedyADM\" -s \"Daily and Enhancement Report - HelpDesk Tickets\" -a '/tmp/Daily&Enhancement_Report.zip' -cc $CC $MAIL_TO"
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Formatting a MAil in PERL
by Corion (Patriarch) on May 28, 2018 at 11:16 UTC | |
|
Re: Formatting a MAil in PERL
by marto (Cardinal) on May 28, 2018 at 11:42 UTC | |
|
Re: Formatting a MAil in PERL
by rnewsham (Curate) on May 28, 2018 at 11:26 UTC | |
|
Re: Formatting a MAil in PERL
by alexander_lunev (Pilgrim) on May 28, 2018 at 18:16 UTC | |
|
Re: Formatting a MAil in PERL
by Anonymous Monk on May 28, 2018 at 16:09 UTC | |
by Anonymous Monk on May 29, 2018 at 14:35 UTC |