Shoutbox

Get email address of sender when message is received - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Get email address of sender when message is received (/showthread.php?tid=77164)

Get email address of sender when message is received by MeEtc on 09-01-2007 at 04:19 PM

Here's the basics. When a message is received and OnEvent_ChatWndReceiveMessage is called, is it possible to get the email address of the sender? If so, is anyone interested in coding it for me?


RE: Get email address of sender when message is received by Eagle_Erwin on 09-01-2007 at 05:32 PM

code:
function OnEvent_ChatWndReceiveMessage(pChatWnd, sOrigin, sMessage, nMessageKind){
var f = new Enumerator(pChatWnd.Contacts);
var email=f.item().Email;
}


The e-mail address is now stored in var email.
RE: Get email address of sender when message is received by MeEtc on 09-01-2007 at 06:09 PM

it works as expected, thanks!