

ICQ ONLINE STATUS VERIFICATION
Standard procedure is sending it to email, or sending a verification code and so on.
ICQ ONLINE STATUS PASSWORD
Recovering of password is a long and boring activity both for the user and the administrator. $result=$icq->send_message($subscriber, $newsletter_text) Įcho "\nCannot send to $subscriber, reason: ".$icq->error Here's the code itself:įoreach ($newsletter_subscribers as $subscriber) Also your script shouldn't send messages too often. This means that you shouldn't start your script too often. ICQ server limits the connection attempts and sent messages for a time span. There are certain things to have have in mind. If you would like to send message in cyrillic, then you should encode it to windows-1251 charset.Īn original way of sending newsletter (of course a small one with no html elements) is using ICQ, not regular email. On success returns true, on failure - false and the error is stored in $error. Sends the message $message to the user $uin. The one indexed with 'from' is the ICQ number of the sender and the other one (indexed with 'message') is the text of the message.Įcho "Received ".$mess." from ".$mess

If succeeds, it returns an array with two elements. On success returns true, on failure - false and the error is recorded in $error. $error - variable holding the error of the last operation Here's a list of this class' most important members: It uses a real ICQ account, so get get a new one. It can be obtained from (sorce code can be found on ). Since PHP has no built-in functions for interecting with ICQ network we'll user the class WebIcqLite. Of course this must not lead to abuse and sending thousands of spam messages. So ICQ gives a fast and convenient way of reading newsletters and other applications. Sending them an ICQ message is faster than an email - just it doesn't require login and so on every time you have to read a message (which is the problem ot the most free email services). Lots of people have their ICQ client on for the whole day. This is a very useful way of communication with various applications. In this articles we'll cover sending and receiving messages to/from ICQ users.
