none
Help sending SMS message using WAY2SMS RRS feed

  • Question

  • Hello

    I have written the following code to send an SMS through Way2Sms site but the sms fails to go

    try
    {
    Way2Sms oway2 = new Way2Sms(LoginIDofWay2smssite, passwordofWay2smssite);
    oway2.Login();
    oway2.SendSms(MobileNumberofsmstobesend, Messagetobesent);
    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.Message);
    }

    I get the error message "Login denied"

    1. LoginIDofWay2smssite / passwordofWay2smssite - are correct
    2.
    A. I have included the following DLLs  in my project 
    - CsQuery
    - Nitin.Sms.Api
    - SmsClient
    - SMSClassLibrary

    B. Added references to the above DLLs

    C. specified the following using statements

    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using SmsClient;
    using System.Net;
    using System.Net.Mail;
    using WhatsAppApi;
    using Nitin.Sms.Api;
    using System.Text.RegularExpressions;

    3. I have logged in to the WAY2SMS site using the above ==>  LoginIDofWay2smssite / passwordofWay2smssite 
    I have been able to successfully Login and send the above  test message - Messagetobesent -  to the above mobile number => MobileNumberofsmstobesend


    Please help me to solve this problem and thanking you in advance 

    regards
    Manoj Gokhale
    • Moved by CoolDadTx Monday, June 11, 2018 1:56 PM Third party product
    Sunday, June 10, 2018 5:18 PM

All replies

  • Hello

    I have written the following code to send an SMS through Way2Sms site but the sms fails to go

    try
    {
                              SendSms sms_send = new SendSms();
                              String send_Status = sms_send.send(LoginIDofWay2smssite, passwordofWay2smssite, Messagetobesent,                                                                                               MobileNumberofsmstobesend);

    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.Message);
    }

    I get the error message "Login denied"

    1. LoginIDofWay2smssite / passwordofWay2smssite - are correct
    2.
    A. I have included the following DLLs  in my project 
    - CsQuery
    - Nitin.Sms.Api
    - SmsClient
    - SMSClassLibrary

    B. Added references to the above DLLs

    C. specified the following using statements

    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using SmsClient;
    using System.Net;
    using System.Net.Mail;
    using WhatsAppApi;
    using Nitin.Sms.Api;
    using System.Text.RegularExpressions;

    3. I have logged in to the WAY2SMS site using the above ==>  LoginIDofWay2smssite / passwordofWay2smssite 
    I have been able to successfully Login and send the above  test message - Messagetobesent -  to the above mobile number => MobileNumberofsmstobesend


    Please help me to solve this problem and thanking you in advance 

    regards
    Manoj Gokhale

    • Merged by CoolDadTx Monday, June 11, 2018 1:56 PM Duplicate post
    Sunday, June 10, 2018 5:58 PM
  • That (Way2Sms) was developed by a third party, not Microsoft, right? So you need to ask them about it.

    If you are asking a question about the C# language (and not something written by someone else and used by you in C#) then please clarify what you are asking.



    Sam Hobbs
    SimpleSamples.Info

    Sunday, June 10, 2018 6:03 PM
  • Hi Manoj Gokhale,

    Thank you for posting here.

    Based on my search, the Way2sms provides service in India only, I do not find more info about starting services in other nations.

    Here is the document.

    https://www.c-sharpcorner.com/UploadFile/b8d90a/send-sms-using-C-Sharp-net/

    And you could post your question in issue tracker.

    https://archive.codeplex.com/?p=way2sms

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 11, 2018 7:12 AM
  • Hi Manoj Gokhale,

    Thank you for posting here.

    Based on my search, the Way2sms provides service in India only, I do not find more info about starting services in other nations.

    Here is the document.

    https://www.c-sharpcorner.com/UploadFile/b8d90a/send-sms-using-C-Sharp-net/

    And you could post your question in issue tracker.

    https://archive.codeplex.com/?p=way2sms

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 11, 2018 7:12 AM