Skip Menu |

This queue is for tickets about the Net-YMSG CPAN distribution.

Report information
The Basics
Id: 3112
Status: new
Priority: 0/
Queue: Net-YMSG

People
Owner: Nobody in particular
Requestors: icebeing_cm1 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: ::ReceiveMessage Event doesn't extract message off the Yahoo server
I have 2 Yahoo entities that login to separate Y! accounts (named 'A' and 'B') A sends a message to B B receives the message If B sends a message to A, the $event->from variable has a strange value. I've discovered that if I quit one of the processes (say B, which received A's msg previously) and I login directly to B's account, the server sends me the message again! It shouldn't be there at this point. Also, user documentation on the API isn't very good...better examples please! /charles.
[guest - Thu Jul 31 20:08:11 2003]: Show quoted text
> I have 2 Yahoo entities that login to separate Y! accounts (named
'A' Show quoted text
> and 'B') > A sends a message to B > B receives the message
Show quoted text
> If B sends a message to A, the $event->from variable has a strange > value.
I assume the $event->from is of A. Show quoted text
> I've discovered that if I quit one of the processes (say B, which > received A's msg previously) and I login directly to B's
account, Show quoted text
> the server sends me the message again! It shouldn't be there
at Show quoted text
> this point.
There are some complications in running 2 yahoo entities simultaneously (ie using the same yahoo script). The point being that $yahoo->start begins an infinite loop (which continuously queries a port for any incoming messages). Hence if you start A before B then you might not be able to receive any message for B(or A) depending on which entity loops on. THis is why A doesnt get a message when B sends to it and instead receives it after you logon as an offline message (as the server knows that the client did not accept the message and it keeps it in the offline archive). Show quoted text
> Also, user documentation on the API isn't very good...better
examples Show quoted text
> please!
Can you help me out? I dont have much time these days. hth, Varun