|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
SM Email Rendering Engine Outside of SMHas anyone ever pulled the SM email rendering engine out for a standalone
project? 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. Josh Joshua Megerman SJGames MIB #5273 - OGRE AI Testing Division You can't win; You can't break even; You can't even quit the game. - Layman's translation of the Laws of Thermodynamics squirrelmail@... ------------------------------------------------------------------------- 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: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: SM Email Rendering Engine Outside of SMOn Thu, May 8, 2008 at 3:33 PM, Joshua Megerman
<squirrelmail@...> 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: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: SM Email Rendering Engine Outside of SMOn Thursday 08 May 2008 06:58:43 pm Paul Lesniewski wrote:
> On Thu, May 8, 2008 at 3:33 PM, Joshua Megerman > > <squirrelmail@...> 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". > Well, I'm thinking of the right pane code that's used when actually "reading" an email. The part that can display either plain text or HTML, as well s stripping out attachments and allowing them to be viewed/downloaded. > > 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. > the first time I've had to dig deep into unfamiliar code to figure out if something's possible :) Thanks for the response! Josh -- Joshua Megerman SJGames MIB #5273 - OGRE AI Testing Division You can't win; You can't break even; You can't even quit the game. - Layman's translation of the Laws of Thermodynamics squirrelmail@... ------------------------------------------------------------------------- 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: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
|
|
Re: SM Email Rendering Engine Outside of SMOn Friday 9 May 2008 02:31, Joshua Megerman wrote:
> OK, so if I want to do this, I'm probably on my own. S'alright, it won't > be the first time I've had to dig deep into unfamiliar code to figure out > if something's possible :) Thanks for the response! I've done this in the past by just copying code from read_body and mime.php and adjusting it where I needed to. Of course not ideal, but it was doable. SquirrelMail has grown very organically and that shows in its code structure.. cheers, Thijs ------------------------------------------------------------------------- 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: squirrelmail-devel@... List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel |
| Free Forum Powered by Nabble | Forum Help |