HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] hylafax reports - howto add more info?
take a look at bin/notify.awk
I added an awk regexp
in the function called putHeaders
near the line number 195 of this file like:
/^receiver/ { receiver = $2; }
/^company/ { company = $2 }
you then can use it in the function called returnToSender like this:
printItem("%s", "Sender", sender);
to add some more info in the mail.
or in the header of the mail in putHeaders like this:
function putHeaders(subject)
{
print "To: " mailaddr;
print "Subject: " subject;
print "";
printf "Your " jobType " job to " company " : " receiver " ("
number ") ";
}
BEGIN
...
You probably can get any information provided by any files of the sendq.
Gatis Anerauds a écrit :
>
> hello,
>
> im using mailtofax and
> this is the report i recieve:
>
> ----
> Your facsimile job to 567 was completed successfully.
>
> Pages: 2
> Quality: Fine
> Page Width: 209 (mm)
> Page Length: 296 (mm)
> Signal Rate: 14400 bit/s
> Data Format: 2-D MR
> Submitted From: localhost
> JobID: 43
> GroupID: 43
> CommID: c00000096
>
> Processing time was 1:43.
> ----
>
> is it possible to include more info into this report, such as:
> attached ps/txt/pdf file names,
> current date,
> and 'to:' email adress.
>
> nthg
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
> To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
> On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null