Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] cant use sendfax out of cgi-script - update
here ist the correct code snippet
sorry for any inconvinience this may have caused.
kind regards
Juergen Hoffmann
sub send_fax_mail() {
my ($fax,$fh,$fh2);
foreach $fax (@fax_recipients) {
$systemcall = "/usr/bin/sendfax -n -d0\,$fax /tmp/$destination.$date.txt";
$debug .= `$systemcall`;
$debug .= $systemcall.br;
};
foreach (@mail_recipients) {
$systemcall = "cat /tmp/$destination.$date.txt | mail -s \"Ihr Internet Formular wurde mit den folgenden Daten ausgefüllt\" $_";
system($systemcall);
$debug .= $systemcall.br;
};
# `rm /tmp/$destination.$date.txt`;
}
--
Mit freundlichen Grüßen
Jürgen Hoffmann
Produktentwicklung
ByteAction GmbH
Altheimerstr. 47
64839 Münster
HRB3271
mobil: +49 (0) 171 415 73 66
phone: 0700 byteaction / 0700 29832284
fax: +49 (0)6071 62340
Email: jh@byteaction.de
Internet: www.byteaction.de
--------------------------------------------------------------------------
This communication is intended only for the party to whom
it is addressed, and may contain information which is
privileged or confidential. Any other delivery, distribution,
copying or disclosure is strictly prohibited and is not a waiver
of privilege or confidentiality. If you have received this
telecommunication in error, please notify the sender
immediately by return electronic mail and destroy the message.
--------------------------------------------------------------------------
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null