Hi,
I don't know how to send mail in HTML but as I can see you could generate
reports writing them on file system with -o switch (it reports also the name
of the generated file at the end of execution) After that report(s) has been
created you could send them with mailx and -a .

es:

[p...@hmcvr0004 bin]# ./mkStats.pl -n 10010 -o /tmp -m 'stat'

NOTICE: Writing file /tmp/WEB_tckXagt_Created_2009-07-14_11-47.csv.


to get the name of the file you can pipe like:

 ./mkStats.pl -n 10010 -o /tmp -m 'stat' | rev | cut -d\/ -f -2 | rev | sed
-e 's/\.$//'




On Tue, Jul 14, 2009 at 11:01 AM, Nikolay Yatsyshyn <[email protected]> wrote:

> Hello all!
>
> Some month ago I ask question about sending reports via e-mail.
> from otrs/bin/mkStats.pl I can get output only in pdf or csv.
>
> Maybe somebody can explain how to make from it html message and send it via
> e-mail as message body not as attached file?
> Thanks.
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
>
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to