HylaFAX The world's most advanced open source fax server

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

Re: TIFF



You probably want to set the "Content-Type:" field to "immage/tiff",
and maybe set a "name=" in the It too.

Content-Type: image/tiff; name="$FILE"

a.

On  9 Feb, Simon Faulkner wrote:
> With very much good help from Buddy Cook I can now get a received fax
> emailed directly to outlook using the following faxrcvd script:
> 
> snip
>>>
> 	 echo ""
> 	 echo "--$MIMEBOUNDARY"
> 	 echo "Content-Description: FAX document"
> 	 echo "Content-Type: application/octet-stream"
> 	 echo "Content-Transfer-Encoding: base64"
> 	 echo ""
> 	 /usr/bin/mmencode $FILE 2>/dev/null
> 	 echo ""
> 	 echo "--$MIMEBOUNDARY--"
> 	) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
> 
> <<
> 
> It saves as Fax Document.dat
> 
> How can I get it to save as
> 
> Fax Document.tiff  (or .tif)
> 
> so it will open the imaging software automatically?
> 
> (Yes, I know it's a small point but I like being fussy ;-)
> 
> Simon
> 
> S C Faulkner
> Dedicated Programmes
> 01538 303 900
> http://www.titanic.co.uk
> 




Project hosted by iFAX Solutions