What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to send a meesage to more than one contact?

How to send a meesage to more than one contact?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: How to send a meesage to more than one contact?
Step 1: Populate an array of emails
Step 2: Loop the emails to create a chat window and send a message

js code:
var aEmails = new Array();
    aEmails.push ( 'johndoe@hotmail.com' );
    aEmails.push ( 'johndoe1@hotmail.com' );

for ( var sEmail in aEmails ) {
    MsgPlus.OpenChat( aEmails [ sEmail ] ).SendMessage ( 'this is a message' );
}

Now you do not have to populate the emails through the source code you can show a window that has a list of emails and they can select which ones and populate it that way.
06-26-2009 02:31 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to send a meesage to more than one contact? - by robert_dll on 06-25-2009 at 07:27 PM
RE: How to send a meesage to more than one contact? - by MicroWay on 06-26-2009 at 03:22 AM
RE: How to send a meesage to more than one contact? - by matty on 06-26-2009 at 02:31 PM
RE: How to send a meesage to more than one contact? - by robert_dll on 06-27-2009 at 01:55 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On