Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Setting Subject for ELog email notification, posted by Alan Stone on Wed Jul 12 17:52:45 2006 
    icon2.gif   Re: Setting Subject for ELog email notification, posted by Stefan Ritt on Thu Jul 13 08:11:33 2006 
Message ID: 1875     Entry time: Thu Jul 13 08:11:33 2006     In reply to: 1874
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: ELOG V2.6. 
Subject: Re: Setting Subject for ELog email notification 

Alan Stone wrote:
Hi,

I have the following elogd.cfg syntax:

; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov

1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).


You made a typo. It should be

Use Email Subject = $subject

instead of User Email ...


Alan Stone wrote:
2) I want to control the output header "A new entry...".


You do with with

Use Email Heading = $subject

The option Use Email Heading Edit = $subject is only for entries which are edited (as opposed to new entries). Just read the manual!


Alan Stone wrote:
3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"


The email is formatted in HTML. Standard email programs like Thunderbird display them properly. If you email client has a problem with it, you can switch to plain text encoding with

Email encoding = 1

Best regards,

Stefan
ELOG V3.1.5-2eba886