[ic] /etc/report in HTML
mike at perusion.com
Mon Sep 30 11:37:01 UTC 2013
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
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.
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.253.4194 ... Ask me about jobs ...
Find the grain of truth in criticism, chew it, and swallow
it. -- anonymous
More information about the interchange-users