[ic] /etc/report in HTML
scaballe at gmail.com
Mon Sep 30 12:48:23 UTC 2013
El 30/09/13 13:37, Mike Heins ha escrit:
> Quoting Stefan Hornburg (Racke) (racke at linuxia.de):
>> On 09/30/2013 09:19 AM, Salvador Caballe wrote:
>>> El 30/09/13 03:58, Peter ha escrit:
>>>> On 09/30/2013 02:54 AM, Salvador Caballe wrote:
>>>>> Does anyone has a /etc/report file example to generate a email in html
>>>>> format, the idea is to include in it product and/or barcode images
>>>> Did you look at etc/receipt.html?
>>> I'm talking about /etc/report
>>> how to do a multi-part message instead actual plain text.
>> Actually I tried to do that, but the etc/report handling is really hardwired
>> in Interchange.
>> My approach was to add another route which sends a MIME email through [email]
>> and let the etc/report email going to blackhole.
> This is the best way. It's as easy as changing the master:
> Route default cascade "log main copy_user copy_us"
> Then adding a report:
> Route copy_user <<EOF
> empty 1
> error_ok 1
> encrypt 0
> increment 0
> report etc/html_report
> supplant 0
> track logs/log
> Put the email code -- similar to etc/mail_receipt -- in the
> etc/html_report file, and you are done. You could engage a competent
> Interchange consultant to help you craft the email code, if you are
> uncomfortable doing it.
Thanks Paul and Mike,
this is exactly what I was looking for.
More information about the interchange-users