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] Change name of notify attachment
Metin Wachholz wrote:
I am trying to change the name of the attachment, which comes with the
notify email after sending a fax.
Does anyone knows where to do this? I would like to name the file like
the identifier of the job.
For HylaFAX+ see:
http://hylafax.sourceforge.net/howto/tweaking.php#ss6.12
You'd essentially follow the described steps to use your own
notify_mail() function, merely changing this part to suit your needs:
echo ""
echo "--$MIMEBOUNDARY"
echo "Content-Type: $MIMETYPE;
name=\"$number-$i.$FILEEXTEN\""
echo "Content-Description: FAX document"
echo "Content-Transfer-Encoding: $ENCODING"
echo "Content-Disposition: attachment;
filename=\"$number-$i.$FILEEXTEN\""
echo ""
Lee.
____________________ 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@xxxxxxxxx*