[JDEV] Re: Inbox mail notification feature

SARADHI uvnpsaradhi at yahoo.com
Wed Apr 16 12:26:22 CDT 2003


Hi,

I solved this problem a long time back. What I did is,

I followed ur first thinking. I wrote a small POPUP mail client in Visual BAsic(I guess you can write in any language) which will fetch the new mails from my mail server along wiht the Message HEader, Message body and I connected to myjabber server and sent this info as part of the Headline message to the User concenred.

Then inside my Jabber client, I have a small module which will read these headlines and notifyes the user of a new mail .

This is what I followed and it works still.

Hope it helps you.

BYe

Happy Programming

 

--__--__--

Message: 3
Date: Wed, 16 Apr 2003 16:17:39 +0900
To: jdev at jabber.org
From: Ganbold <ganbold at micom.mng.net>
Subject: [JDEV] Inbox mail notification feature
Reply-To: jdev at jabber.org

Hi,

I'm new to jabber development and I have some questions.
I would like to implement inbox mail notification feature in existing 
jabberd-1.4.2 server.
We have written custom web mail server in PHP and backend database is 
mysql. All incoming mails are stored in mysql database.

In my opinion there might be 2 possibilities.
One is email receiving program (perl script) should notify jabberd using 
<headlines/> tag about new incoming mail.
Second possibility is xdb_sql should check new mail by querying time by 
time from mysql database.

So can somebody suggest me some solution for this? Did anybody solve this 
before?
Also from where should I begin developing the code? I mean, from which part 
of the jabber source codes or xdb_sql source codes should I begin?
Did somebody developed this kind of code before?

TIA,

Ganbold




U.V.N.PARDHA SARADHI

People don't plan to fail... they fail to plan  



---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20030416/3f6a0834/attachment-0002.htm>


More information about the JDev mailing list