• Post Reply Bookmark Topic Watch Topic
  • New Topic


geeta Paygude
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have an application where i am using messenger applcation
My requirement is when i am fecthing ymsg.network.event.SessionEvent.getFrom()
I get only partial email Id .
eg: if the email id is x_y1009@yahoo.com, it gives me only x_y1009
so ,is there any API which whill will give me API to fetch whole email id?
Waiting for reply

Class Looks like

Please look at messageReceived() this method
package com.ail.dhg.bot.business;

import org.apache.log4j.Logger;
import ymsg.network.event.SessionChatEvent;
import ymsg.network.event.SessionConferenceEvent;
import ymsg.network.event.SessionErrorEvent;
import ymsg.network.event.SessionEvent;
import ymsg.network.event.SessionExceptionEvent;
import ymsg.network.event.SessionFileTransferEvent;
import ymsg.network.event.SessionFriendEvent;
import ymsg.network.event.SessionListener;
import ymsg.network.event.SessionNewMailEvent;
import ymsg.network.event.SessionNotifyEvent;
import ymsg.support.MessageDecoder;

* Most of these method will be called as a direct result of 'packets' arriving
* from the Yahoo server to the client
* @version $Revision: 1.4 $

public class YahooConnectionListener
implements SessionListener
private YahooConnectionmoYahooConnection;
private static LoggermoLogger= Logger

public YahooConnectionListener(YahooConnection oYahooConnection)
moLogger.debug("YahooSessionListener constructor called");
moYahooConnection = oYahooConnection;
* when a message is recieved by the bot it is parsed by YahooManager
public synchronized void messageReceived(SessionEvent ev)
moLogger.debug("messageReceived called, message " + ev.getMessage());
MessageDecoder oDecoder = new MessageDecoder();
new YahooManager().parseMessage(oDecoder.decodeToText(ev.getMessage()),

public void conferenceInviteDeclinedReceived(SessionConferenceEvent ev)

Please reply
Ernest Friedman-Hill
author and iconoclast
Posts: 24213
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not familiar with the API, but given that it's Yahoo Messenger, perhaps the address is ALWAYS @yahoo.com ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!