Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon6.gif   Conditional E-Mail Attributes, posted by Grant Jeffcote on Fri Aug 11 21:48:01 2006 
    icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Tue Aug 15 13:44:45 2006 
       icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Fri Aug 18 14:22:07 2006 
          icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Fri Aug 18 15:31:53 2006 
             icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Sat Aug 19 15:47:52 2006 
                icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Sat Aug 19 18:45:22 2006 
                   icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Sat Aug 19 20:12:42 2006 
                      icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Tue Oct 10 08:52:50 2006 
Message ID: 1904     Entry time: Fri Aug 18 15:31:53 2006     In reply to: 1903     Reply to this: 1905
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version:  
Subject: Re: Conditional E-Mail Attributes 
If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}

{1}Email encoding = 1
{2}Email encoding = 2

then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}

in order to set a condition.
ELOG V3.1.5-fe60aaf