SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 07/10/2017, 06:37 PM   #1
iAmir
Banned
 
Join Date: May 2017
Location: Iran
Posts: 116
Reputation: 191
Smile SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

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[]); 

Last edited by iAmir; 01/10/2018 at 11:44 AM.
iAmir is offline   Reply With Quote
Old 07/10/2017, 11:43 PM   #2
GuyYahood1
Big Clucker
 
Join Date: Dec 2010
Posts: 173
Reputation: 6
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

Awesome!
What about Israel?
__________________
GuyYahood1 is offline   Reply With Quote
Old 07/10/2017, 11:55 PM   #3
NewFreeroamStunt
Banned
 
Join Date: May 2017
Location: Indonesia
Posts: 58
Reputation: 2
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

and For indonesia?
NewFreeroamStunt is offline   Reply With Quote
Old 08/10/2017, 12:04 AM   #4
Romz
Banned
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,049
Reputation: 64
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

Limit on sending 10 messages on one email address?
Romz is offline   Reply With Quote
Old 08/10/2017, 12:06 AM   #5
Romz
Banned
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,049
Reputation: 64
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

Quote:
Originally Posted by NewFreeroamStunt View Post
and For indonesia?
Romz is offline   Reply With Quote
Old 08/10/2017, 02:55 AM   #6
Abagail
High-roller
 
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,182
Reputation: 445
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

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.
Abagail is offline   Reply With Quote
Old 08/10/2017, 05:06 AM   #7
iAmir
Banned
 
Join Date: May 2017
Location: Iran
Posts: 116
Reputation: 191
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

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/

Last edited by iAmir; 14/10/2017 at 10:22 PM.
iAmir is offline   Reply With Quote
Old 08/10/2017, 08:20 AM   #8
Kraeror
Gangsta
 
Kraeror's Avatar
 
Join Date: Mar 2017
Location: Bulgaria
Posts: 537
Reputation: 19
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

Can you add the function for Bulgaria?
Kraeror is offline   Reply With Quote
Old 08/10/2017, 08:56 AM   #9
DimaShift
Banned
 
Join Date: May 2017
Location: Republic of Moldova
Posts: 123
Reputation: 43
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

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
DimaShift is offline   Reply With Quote
Old 08/10/2017, 12:42 PM   #10
Amit_B
Huge Clucker
 
Amit_B's Avatar
 
Join Date: Nov 2007
Location: Israel
Posts: 349
Reputation: 63
Default Re: SA:MP SMS Sender Plugin v2 (Mail.Ru Agent)

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.
__________________
- Leading the Israeli SA-MP Community, SA-MP.co.il - SAMP-IL
- Currently working on the first anime project on SA-MP, Naruto Shippuden gamemode: #1, #2, #3

https://github.com/Amit-B/
Amit_B is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] SMS Sender Romanius Релизы/Releases 79 25/11/2016 01:11 PM
Mail Sender Nekomoza Scripting Help 1 14/07/2012 07:30 AM
e-mail plugin denis1999 Help Archive 3 05/03/2010 05:26 AM


All times are GMT. The time now is 04:32 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.