It'll take you all of 5 minutes to write a mail agent that reads list messages
from a dedicated email address and puts them into a DB. From there it's just a
matter of display code. This is what I did waaaay back in time for the HoF
archives before I started using iMS.
The questions are:
Do you want to grab the mail for storage before or after they hit the lists? If
before, then there's some juggling that has to be done (I can go into detail if
needed). If after, then the method above will be perfect.
Threading should be based on messageID, replyid(or referer, in reply to -
different mail browsers use different headers) and subject. Some parsing code
will keep this clean.
HTML vs. Plain text is easy if the message is legal. Plain text is plain text.
HTML SHOULD have a plain text version of the message as well, which can be
parsed out easily. Bad HTML messages with only HTML will have to be parsed to
remove all HTML content and some intelligent cleaning done to make it look good
again.
Scheduling is a key component here and I suggest using something other than
CFSCHEDULE for this. No reason to overload a CF server with extra processes if
unneeded.

> I have an IPSwitch iMail server that has mailing list capabilities.  The
> server can handle all of the message broadcasts, the subscribe/unsubscribe,
> etc. stuff.   What I need now is a web based archive for these mailing lists
> that will display the messages (similar to HOF).  I have been searching for
> any open source app or tutorials that might be used to start, but I am not
> having much luck.
>
> Has anybody ever built an application like this or know of one I could look
> at?  The questions that are coming to mind right now are ....
>
>   - How are the mailing list messages intercepted to be stored/displayed?
>   - How do you reliably determine which messages are related - i.e. a
> thread?
>   - How do you reliably process HTML vs. Plain text messages?
>   - How real-time is the archive?  Do you run a scheduled task to process
> the messages?
>
> Any direction would be appreciated.  Surely I cannot be the first to need an
> app like this....
>
> Thanks
> -- Jeff Chastain
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to