Re: SM Email Rendering Engine Outside of SM

"Paul Lesniewski" <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
On Thu, May 8, 2008 at 3:33 PM, Joshua Megerman
<[email protected]> wrote:
> Has anyone ever pulled the SM email rendering engine out for a standalone
> project?

I don't think so.  I don't even know what part of SM would qualify as
the "email rendering engine".

> I'm working on an email archive system that doesn't use IMAP,
> and being able to view messages the way SM formats them (can show the
> headers, view as either plain text or HTML, access the attachments) would
> be really nice.  I'm quite fond of SM as a webmail system, and would love
> to be able to use it for my current project since viewing anythign other
> than plain text emails as plain text is going to give the non-technical
> users fits :)
>
> Thanks in advance for any suggestions/pointers/etc.

You'd probably have to replace all the IMAP functions in the various
functions/imap_* files, replacing all the API calls with functions
that access your custom mail store.  Some day in the future of the
1.5.x code, the IMAP backend will be modularized, and while the core
assumption that you are using it with an IMAP server may not change,
this may make an API swap-out a little more feasible.

Cheers,

 Paul

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.