HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Re: Tiff Attachments are zero bytes



Hi Greg,  I use uuencode to attach the tiffs to our email....

excerpt from faxrcvd...

     if [ -n "$SENDTO" ]; then
        echo ""
        echo "The facsimile was automatically dispatched to: $SENDTO."
     fi

     echo ""
     uuencode $FILE $FILE 2>/dev/null
     echo ""

    ) | 2>&1 $SENDMAIL -ffax -oi $TOADDR

...end

For some reason I couldnt get Outlook to accept the MIME stuff, so I used
uuencode instead and it works fine.

Good Luck.
-------------------------------
Jason Bachman
Information Systems Manager
Hiestand Supply Company
jabachman@hiestandsupply.com

-----Original Message-----
From: hylafax-users-bounce@hylafax.org
[mailto:hylafax-users-bounce@hylafax.org]On Behalf Of Greg Kelley
Sent: Wednesday, July 12, 2000 9:09 AM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] Tiff Attachments are zero bytes



I am using the following in my faxrcvd:

echo "--$MIMEBOUNDARY"
echo "Content-Type: Application/Octet-stream;name=\"$FILE\";type=Unknown"
echo "Content-transfer-encoding: BASE64
echo "Content-Description: FAX document"
echo "Content-disposition: attachment; filename=\"$FILE\""
echo ""
#  $FAX2PS $FILE 2>/dev/null
mmencode $FILE 2>/dev/null
echo ""
echo "--$MIMEBOUNDARY--"

Attached tiff documents are zero bytes.  Any ideas?  Thanks!






____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions