SA-MP Forums Archive
[Plugin] SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) (/showthread.php?tid=642816)

Pages: 1 2


SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 07.10.2017

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
You can use your Gmail and your Yahoo Mail to login I guess, Not sure !
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[]); 
Download :


Solidfiles.com
Include Pastebin.com
Source Code



Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - GuyYahood1 - 07.10.2017

Awesome!
What about Israel?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - NewFreeroamStunt - 07.10.2017

and For indonesia?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Romz - 08.10.2017

Limit on sending 10 messages on one email address?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Romz - 08.10.2017

Quote:
Originally Posted by NewFreeroamStunt
View Post
and For indonesia?



Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Abagail - 08.10.2017

Pretty cool but the restrictions seem pretty major. I'm sure there must be another (free) international SMS API out there somewhere. TextMagic for example has a free trial (https://www.textmagic.com/docs/api/c-sharp/), not sure of the limitations though.


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 08.10.2017

Quote:
Originally Posted by GuyYahood1
View Post
Awesome!
What about Israel?
Quote:
Originally Posted by NewFreeroamStunt
View Post
and For indonesia?
Nope. About 8 month ago it could work for every single countries. But now they just uses these services

Quote:
Originally Posted by Romz
View Post
Limit on sending 10 messages on one email address?
Yes , so you can have multi accounts and switch to them easily

Quote:
Originally Posted by Abagail
View Post
Pretty cool but the restrictions seem pretty major. I'm sure there must be another (free) international SMS API out there somewhere. TextMagic for example has a free trial (https://www.textmagic.com/docs/api/c-sharp/), not sure of the limitations though.
Ummm, there are some free international sms sending services but as I searched them all , they all uses captcha which doesn’t let us pass through . Like http://globefone.com/


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Kraeror - 08.10.2017

Can you add the function for Bulgaria?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - DimaShift - 08.10.2017

Quote:
Originally Posted by iAmir
View Post
iAmir's 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

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
You can use your Gmail and your Yahoo Mail to login I guess, Not sure !
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[]); 


also works in country:

MOLDOVA



Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Amit_B - 08.10.2017

Quote:
Originally Posted by GuyYahood1
View Post
Awesome!
What about Israel?
Just integrate your server with local SMS API using HTTP. You don't need a plugin.


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 09.10.2017

Quote:
Originally Posted by Kraeror
View Post
Can you add the function for Bulgaria?
It only supports what Mail.Ru services support!

Quote:
Originally Posted by DimaShift
View Post
also works in country:

MOLDOVA
I didn’t know that , thanks

Quote:
Originally Posted by Amit_B
View Post
Just integrate your server with local SMS API using HTTP. You don't need a plugin.
It’ll be great if you gice me some api to add them in my plugin


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Amit_B - 09.10.2017

Quote:
Originally Posted by iAmir
View Post
It’ll be great if you gice me some api to add them in my plugin
Nothing free that I can think of. I'm using an API, though the SMS costs money. The service is called "nexmo sms".


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 10.10.2017

Quote:
Originally Posted by Amit_B
View Post
Nothing free that I can think of. I'm using an API, though the SMS costs money. The service is called "nexmo sms".
The point of making this plugin is sending sms for free so , never mind


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - GamezCEO - 28.10.2017

This is such a cool idea!

Thanks for the share man.


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 05.11.2017

Quote:
Originally Posted by GamezCEO
View Post
This is such a cool idea!

Thanks for the share man.
Thanks


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Chaprnks - 05.11.2017

Im curious, does this work in USA?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - DonaldDuck - 06.11.2017

Quote:
Originally Posted by Chaprnks
View Post
Im curious, does this work in USA?
Read tue note up there. You can see the selected countries.


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 06.11.2017

Quote:
Originally Posted by Chaprnks
View Post
Im curious, does this work in USA?
Ummm , nope , but if there’s any free sms sending services please tell me maybe I can add them


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - Chipardeur - 06.11.2017

And for france?


Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent) - iAmir - 06.11.2017

Quote:
Originally Posted by Chipardeur
View Post
And for france?
Dude! It’s only for those wrotten down countries!!
I’ve no idea if there’s any sms services which supports france careers!