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] how to put the date in the notify email



Inlude this line after #!/<path>/sh

DATE=strftime()

and put it like this

print "Date: " DATE;

wherever you wanted in the if conditions.

Example
...

if (why == "done") {
       putMimeHeaders(jobtag " to " number "
concluded", $4);
       print " was completed successfully.";
       print "";
       print "Date: " DATE;
       print "";
       if (jobType == "facsimile") {

...

-- David Ives <david@xxxxxxxxxxxxxxxxx> wrote:
> Hi
> 
>  
> 
> How do you put the date in the notify script?
> 
>  
> 
> Thanks
> 
>  
> 
> David
> 
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

____________________ 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@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*




Project hosted by iFAX Solutions