|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Message read/unread notificationsI'm using javamail to connect to the gmail "INBOX" folder. The code registers various listeners and then calls idle() on the folder. Everything connects fine and receives notifications when a message arrives or is archived. Is it possible to also receive notification when a message is read or marked unread? I've added a MessageChangedListener, but it does not get called.
I've enabled the tracing in javamail, and the last thing I see is the +idling message. When I read messages in the gmail web interface, there is no tracing output from javamail, suggesting that gmail isn't sending this information. Am I setting something up wrong, or is this a known limitation? Thanks, -- jim |
|
|
Re: Message read/unread notificationsJim Durrell wrote:
> I'm using javamail to connect to the gmail "INBOX" folder. The code > registers various listeners and then calls idle() on the folder. Everything > connects fine and receives notifications when a message arrives or is > archived. Is it possible to also receive notification when a message is > read or marked unread? I've added a MessageChangedListener, but it does not > get called. > > I've enabled the tracing in javamail, and the last thing I see is the > +idling message. When I read messages in the gmail web interface, there is > no tracing output from javamail, suggesting that gmail isn't sending this > information. Am I setting something up wrong, or is this a known > limitation? It's possible for the IMAP protocol to notify you of flag changes made by other clients, but I'm not sure how many servers actually do that. Likely Gmail does not. =========================================================================== To unsubscribe, send email to listserv@... and include in the body of the message "signoff JAVAMAIL-INTEREST". For general help, send email to listserv@... and include in the body of the message "help". |
|
|
Re: Message read/unread notificationsThanks, Bill. I had been getting good results polling the Google RSS feed, so maybe I'll do a hybrid approach where RSS gives me the changed messages and IMAP can be used to read, archive, etc.
Thanks again, Jim
|
|
|
Re: Message read/unread notificationsHi everybody!
I have a trouble with "return receipt" problem in java. Anybody can help me I'm writing a web mail and when sending mail I have a option "Return Receipt" (I add "Disposition-Notification-To" header to email before I send). Other mail client (thunderbird) read it and confirm to send back a return receipt => It's okay My problems are : 1. When I get the message, how to know that message already return receipt before ? (because if that message haven't returned receipt I will confirm in my webmail to send return receipt). 2. How to send return receipt ? (The contend of receipt message) I see in rfc3462 and rfc3798 but I don't know how to do in javamail. These problem are very urgent for me. please help me .... Thanks a lots |
|
|
Re: Message read/unread notificationsI check if the message has been read already. With imap the server knows which mails are read and which aren't. With pop3 all this info is in the client, so I think it is not possible to share this info between clients.
Ronald. Op dinsdag, 2 juni 2009 11:21 schreef Phung Nam
|
|
|
Re: Message read/unread notificationsPhung Nam wrote:
> Hi everybody! > > I have a trouble with "return receipt" problem in java. Anybody can help me > > I'm writing a web mail and when sending mail I have a option "Return > Receipt" (I add "Disposition-Notification-To" header to email before I > send). Other mail client (thunderbird) read it and confirm to send back a > return receipt => It's okay > > My problems are : > > 1. When I get the message, how to know that message already return receipt > before ? (because if that message haven't returned receipt I will confirm in > my webmail to send return receipt). > > 2. How to send return receipt ? (The contend of receipt message) I see in > rfc3462 and rfc3798 but I don't know how to do in javamail. > > These problem are very urgent for me. please help me .... > > Thanks a lots Answered in the forum where you first posted: http://forums.sun.com/thread.jspa?messageID=10733719 =========================================================================== To unsubscribe, send email to listserv@... and include in the body of the message "signoff JAVAMAIL-INTEREST". For general help, send email to listserv@... and include in the body of the message "help". |
| Free embeddable forum powered by Nabble | Forum Help |