Can mharc/MHonArc do this? Is there an easy way to do it? I'd like
to put a small icon in the subjects in the index list to indicate if
there is an attachment. I found an example here
http://www.mediaapplicationserver.net/public-mhonarc/mas-devel/ but no
indication of how it was done.
There's a FAQ about something similar here
http://www.mhonarc.org/archive/html/mhonarc-users/1997-06/msg00044.html
but I don't need this much detail, just if the message has any
attachment.
Basically, change your templates to include the ICON variable, like
<LITemplate>
<li>
$MMDDYY:40$ $ICON$ <strong>$SUBJECT:80$</strong>
($NUMFOLUP$) <em>$FROMNAME$</em><br>
</LITemplate>
You then need to define your ICONS for different MIME types:
<ICONS>
image/*;[29x15]/images/photo.gif
multipart/mixed;[29x15]/images/unknown.gif
multipart/related;[29x15]/images/unknown.gif
application/octet-stream;[29x15]/images/unknown.gif
unknown;[1x1]/images/cd.gif
</ICONS>
The online manual at mhonarc.org covers more about the ICONS resource:
http://www.mhonarc.org/MHonArc/doc/resources/icons.html
Chris
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS