Author Topic

geovanni rosetto

Monday 05 May 2003 3:52:23 pm

Comment37726

Gabriel,
I like your initiative in writing solutions for Exponential and contributing to this community.

Here are my thoughts about webmail.

>- Mail storage. There are two basic possibilities for this: IMAP (in which
>case I'd use PEAR's IMAP module to avoid having cclient installed) or the
>SQL DB itself in which case you need to configure the mail server to feed
>data in there.

Personally, I think any webmail client should be built around IMAP. Why? Collaboration, collaboration, collaboration! Why would you want to rebuilt the wheel?
Remember that "integration" is part of ONE unified system so, no matter where people are, they should always be able to get their messages anywhere. This includes all folders created in the user's mailbox (inbox, drafs, sent, deleted, subfolder, etc.) This could also make Exponential appealing for other users to migrate over :P.

>If going the IMAP route, how are the feelings about iframe'ing an existing webmail
>client (probably Squirrelmail which is by far the nicest one I've tried, the UI might
>be very 96'ish but it's fast and universally useable)

The UI should be unified with Exponential standard template system, so if people modify the "main" template in Exponential the webmail UI should also change. Frames should not be used because it's not supported in all browsers, let your cell phone's Web browser read those framed pages. There is also an advantage in making plain vanilla HTML pages (CSS perhaps), for example when you want to notify users that they have 96 new messages in their inbox, you might want to show it like this on a left column: Inbox (96)
As the user clicks on a new message perhaps on the right side of the window, the whole page refreshes this way updating the inbox status to: Inbox (95).

>with some modifications to allow
>for single logon? I think the GREAT advantage of that approach is that you can save
>tremendous amounts of server resources as there's no need for Exponential to be
>invoked at all if the user is only using the webmail client.

Solutions:
1. Liberty Alliance Project (http://www.projectliberty.org)
2. Add new tables to Exponential database with this fields to be added by the user in their profile's page:

MAIL SERVER SETTINGS:

Incoming Mail Server (IMAP):
Outgoing Mail Server (SMTP): << You will need SMTP for sending mail, IMAP can't do this!
Username:
Password:

[SAVE SETTINGS] << Button

User's name and other info can be obtained from Exponential default user table and auto-filled by the module, but open if the users want to change it later.

I really like your idea and I wish you good luck. I wish I help you code, but I am no programmer. If you need testers let me know.

Regards,

geo