HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Sv: -i argument and status e-mails?



Hej Lucas

Look at "man sendfax" and options -f, -D, -R and -N. 
Also look at bin/notify, bin/notify.awk. You migth need to make some changes in the sendmail-phrase in notify and/or "putHeaders()" and "main-body" in notify.awk.

Useage:
sendfax -n -v -i"my tagline" -f"senders mail-adr" -D -d"faxnumber"  filename
Example:
sendfax -n -v -i "fax to Lucas Cowgar" -f  "Oluf Steensen <oluste@post.cybercity.dk>" -D -d 86213397 myfile.pdf

Note:
According to the man page of sendfax, one can put ex. "Notify:     'When done' " in one of the configfiles  /etc/hylafax/hfaxd.conf,  /etc/hylafax/hyla.conf or ~/.hylarc. But that did not work for me.

Oluf

----- Oprindelig meddelelse ----- 
Fra: "Lucas Cowgar" <lcowgar@bhsys.com>
Til: "Oluf Steensen" <oluste@post.cybercity.dk>
Sendt: 26. september 2002 20:12
Emne: Re: [hylafax-users] -i argument and status e-mails?


> Oluf,
> 
>     Thank you for the input. I am looking for a way to put our internal
> identifier onto the email notification string. Do you know how to do that? I
> was under the understanding that you would use the "-i" arguement for that.
> Thank you for your help so far.
> 
> 
> Lucas Cowgar
> Information Technologies Department
> Eldorado Services Group Inc.
> http://www.eldoserv.com
> lcowgar@eldoserv.com
> (330) 861-3009
> 
> "All your base are belong to us"
> ----- Original Message -----
> From: "Oluf Steensen" <oluste@post.cybercity.dk>
> To: "Lucas Cowgar" <lcowgar@bhsys.com>; <hylafax-users@hylafax.org>
> Sent: Thursday, September 26, 2002 11:54 AM
> Subject: Sv: [hylafax-users] -i argument and status e-mails?
> 
> 
> Hello Lucas
> 
> The "-i" option-string corresponds to the TagLineFormat "%%j" in
> etc/config.ttyXX
> 
> Oluf Steensen
> 
> ----- Oprindelig meddelelse -----
> Fra: "Lucas Cowgar" <lcowgar@bhsys.com>
> Til: <hylafax-users@hylafax.org>
> Sendt: 26. september 2002 15:18
> Emne: [hylafax-users] -i argument and status e-mails?
> 
> 
> > I cannot get the custom identifier string to work correctly on my HylaFAX
> > server. We call it from a PHP script and issue it the necessary commands,
> > including: -i 'Our custom identifier string' , but our notification
> e-mails
> > do not contain the information contained in the -i string! Can anyone
> point
> > me in the right direction? Thanks in advance.
> >
> The "-i" optstring correspond to the TagLineFormat "%%j" in config.ttyXX
> 
> 
> 
> 
> 
> 
> 


____________________ 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.*




Project hosted by iFAX Solutions