07.10.2017, 18:37
(
Last edited by iAmir; 01/10/2018 at 11:44 AM.
)
Mail.Ru Agent SMS Sender
Originally By Romanius
Informations:
So as some of you know , Mail.ru has some services to send SMS with your registered e-mail named Mail.Ru Agent.
This plugin uses mrim and was originally made by Romanius.
but since it does not work well any more , I made some changes and fixes some bug and also do some improvements
Functions and callbacks names are changed some other stuff with sockets for updated windows
also it was a makefile project and I made a solution file and project files for so everyone can use it with VS without cmake needed.
and of course source code for Visual Studio not just some stupid linux form sources -.- sorry but I just hate 'em
NOTE :
it only works for these following countries :
Code:
Russia Kazakhstan Uzbekistan Ukraine Tajikistan Kyrgyzstan Armenia
Okay ! Let's see what we got now! :
Functions :
PHP Code:
native SMS_Connect(login[], password[]);
// Connects your server to Mail.Ru
// login - your email address
// password - password of your email
native SendSMS(phone[], message[]);
// Sends SMS to given number
// phone - phone number (must add your country code at the first)
// message - your text here (Only 116 chars !)
native SMS_Disconnect();
// Disconnects your server from Mail.Ru Agent
Callbacks :
PHP Code:
forward OnAgentError(phone[], error[]);
forward OnAgentAnswer(phone[], message[]);