On September 1, 1998 at 14:12, "Anthony P. Kieran" wrote:
Hello there, I have been using mhonarc to implement a small application at
NASA HQ in Washington DC. Mhonarc has worked well, however, I get a
problem when I try to attach an image (GIF FILE) when using Eudora as my
email package. The image does not appear in the body of the message on the
HTML page, but rather as a link to a binary file, which I can save to the
desktop and open it later.
Because, the data was tagged with the wrong content-type. Look
at the original raw message, I bet you it was tagged with
application/octet-stream instead of image/gif.
I was wondering if there was any way (through the use of filters) to have
the intended attachment (whether it be a WAV file; GIF/image file; AVI file
etc) to appear in the body of the HTML page as a thumbnail? I would
especially like to have any GIF/image file appear as a thumbnail - Is this
possible and if so, can you point me in the right direction to accomplish
this.
Its possible, but you'll probably have to write one yourself (do not
know of any existing filters to do it -- I have not written one). The
main issue is performance. If updating archives as messages arive,
doing thumbnail type processing cause a significant performance hit. A
problem if there is frequent mail traffic.
If image data is labeled properly, MHonArc, by default, will in-line
GIFs, JPEGs, and XBM images (unless the disposition is "attachment").
--ewh
----
Earl Hood | University of California: Irvine
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu | Electronic
Loiterer
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME