Demo: Attachment viewer “inside” of mail, supports code/text files

After playing a little bit with the viewer and seeing what kind of files I get in email I realized a common format is simply code or text files.  So I went ahead and added support for viewing text files, including C, Java, C++, XML, HTML, etc.  The primary difference with these kinds of files is I have to actually read the contents then place them within the HTML.  I also have to change things like <> to &lt&gt so it is not considered HTML by the browser.

Lastly, using the method shown in this article, I put the Eclipse view in my mail template so it is available when I open a Memo or Reply.  This was in the last demo but you may not have caught it.

For video click more.

/files/AttachmentViewer-CodeSupport.swf

Advertisements

2 thoughts on “Demo: Attachment viewer “inside” of mail, supports code/text files

  1. Pingback: Tutorial: How to add the Attachment Viewer to your mail file » Balfes.net

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.