Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] hack notify.awk to print time on putHeaders



How can I put a fiel date in  notify.awk in order to obtain something 
similar to:

To: a@b.c
Subject: facsimile job nn to xxxxxxx was completed
Date: dd/mm/YY 
HH:MM                                                       <-------------

Your facsimile job to xxxxxxxxx  successfully

I tried

function putheaders(subject)
{
	print "To: " mailaddr;
	print "Subject: " subject;
	print "Date : ", strfmt(" %d %b &Y %H:%M");              <---------------
	print "";
	printf  "Your" jobtype " job to " .....


but doesn't work! Anyone can help me?
Thanks, Leonardo

Leonardo Corato
leonardo@bitsh.it


____________________ 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
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services