Skip to content

ntwalitera/AfriSms.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AfriSms .NET

NuGet NuGet

Installation

Install AfriSms from NuGet.

PM> Install-Package AfriSms

Setup

using System;
using System.Collections.Generic;

namespace AfriSmsApp
{
    internal class Program
    {
        static void Main(string[] args)
        {
            List<string> Phones = new List<string>{ "078xxxxxxx", "079xxxxxxx", "072xxxxxxx" };
            AfriSms.AfriSms sms = new AfriSms.AfriSms();
            var result = await sms.SendSms(SmsSetting.Email, SmsSetting.Password, SmsSetting.CompanySenderId, SmsSetting.UserId, SmsSetting.Message, Phones);
        }
    }
}
public class SmsSetting
{
    public const string Email = "";
    public const string Password = "";
    public const string CompanySenderId = "";
    public const string UserId = "";
    public const string Message = "";
}

That's it!

License

MIT

Bugs and Feedback

For bugs, questions and discussions please use the GitHub Issues.

Links