Greetings, dear visitor. IT blog is here

Using ePochta SMS Gateway sms delivery

Today I am announcing new module for the Rest4net API library to send sms through commercial gateway. Atomic/ePochta is a cool startup from AtomPark company. The price for sms delivery at this company is one of the lowest on a market. They support more than 200 countries world-wide, and at this time it is almost perfect for sms campaigns. Recently, they have announced API version 3.0, with a bunch of functions.

Installation

To connect library to your existing project:

  • open your project in Visual Studio;
  • right-click on the project in Solution Explorer;
  • select Manage NuGet Packages...;
  • search for Rest4Net.ePochta addon in online repository;
  • click Install button;

Or, you may use NuGet command line interface:

Install-Package Rest4Net.ePochta

Both commands will install Rest4Net library itself as a reference.

Prerequisits

Before sending any sms, you should create an account at the sms gateway, and after login at top right corner you will find account settings link. There go to SMS Sender tab, activate API 3.0 and copy your public and private keys. This is everything you need.

Usage

Afterwards, using VS IntelliSense on variable epochta, you will see all functions supported by API v3. The groups of them are:

  • CRUD on campaigns;
  • CRUD on address books and exception lists;
  • access to statistics;
  • sender name registration, balance request and pre sending price calculation for campaign;
  • and many more...

Any questions are welcome in comments.


blog comments powered by Disqus