[ic] problem with mail receipts

Ed LaFrance interchange-users@interchange.redhat.com
Tue Aug 14 12:46:03 2001


At 01:35 PM 08/13/2001 -0500, you wrote:
>Hello all,
>
>   I'm trying to customize the e-mail sent by Interchange, and have run 
> into a snag.  I've got the following code in both the /etc/report and 
> /etc/mail_receipt
>
>[if-modifier sample]FREE[else][item-price][/else][/if-modifier]
>
>   The problem?  It works in the report, but if I add this to 
> mail_receipt, I get back a completely blank e-mail.
>
>   Previously, I added this chunk of code, and tested it:
>
>[if-modifier sample] SAMPLE: [/if-modifier][item-field title]

The docs have been long-incomplete on this, but just for fun, you might 
want to try:

[if-item-modifier sample]FREE[else][item-price][/else][/if-item-modifier]

- Ed L.




>   This works fine in _both_ places - so it makes me wonder if there's 
> something IC doesn't like about using the [else] tag in the mail receipt.
>
>    Anyone have an idea on what's wrong?  Did I find a real bug?
>
>      Steve
>
>Steve Lange
>Business Analyst - Web Application Developer
>Menasha Advantage
>steve.lange@menasha.com
>ph: 920.751.1196
>fax: 920.751.2399
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================