web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

sending SMS From Microsoft Dynamics Ax

(0) ShareShare
ReportReport
Posted on by

 Hi All,

I'm trying to send sms from Axapta. For that I tried the sample which is in the below link.

http://dynamic-ax.co.uk/DynamicsAXSendSMS.aspx

i tried this sample in Ax 2009. I'm not getting any error, after clicking send button as it stated in the website i'm getting "Message has been sent successfuly". but i didnt get message on my mobile.

I cannt identify the problem.

If any other sample is available, Please do the need ful.

Thanks for help.

Regards,

Maria,

Chennai,India

*This post is locked for comments

I have the same question (0)
  • Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: sending SMS From Microsoft Dynamics Ax

    dynamic-ax.co.uk/DynamicsAXSendSMS.aspx

    This site is not working can you please provide me any other service.

    Regards,

    Ahmed

  • Suvarna Kore Profile Picture
    890 on at
    RE: sending SMS From Microsoft Dynamics Ax

    for e. x. if timessms if you are using then code is =

    infoLog.urlLookup('india.timessms.com/.../receiverall.asp user name&password=enter password &sender=enter sendar's name&cdmasender=enter registered mobile no&to='+MobileNo (variable)+'&message='+SMSMsg(variable));

    but one condition = that sender's mobile should be activated for DND service.

  • Suggested answer
    Deepak Agarwal Profile Picture
    8,585 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Hi Maria,

    we just implemented Both SMS and Email in our Axapta (we also using the same version ie 2009) .

    You have to buy a third party tool for sending sms from ur ERP, they provide you an apps and you have to integrate it with your code using ODBC or any other way.

    First you can search for any third party tool then let me know i will share my code to integrate it with your ERP

  • PA-22040759-0 Profile Picture
    6,194 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Here 's a service on Widows Azure to send SMS: www.windowsazure.com/.../twilio-voice-and-sms-service

    /Palle

  • Suggested answer
    Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Dear All,

    Currently I am using AX 2012 R2 and we need this SMS within our system for alert. I have written the following code for the sms and it's successfull. I have tested for the following Networks [ZAIN and MOBILY] in Saudi Arabia.

       System.Net.WebClient    cust;

       System.IO.Stream        data;

       System.IO.StreamReader  reader;

       System.String           URLAddres;

       Str                     SMSConfirmID;

       str mobileno = '966xxxxxxx';

       str message = 'Welcome to DAX 2012 Technology!!!- Send by Company Name';

       ;

       cust = new System.Net.WebClient();

       URLAddres = "smsc5.routotelecom.com/SMSsend mobileno +"&user=YOURUSERID&pass=YOURPASSWORD&message="+ message +"&ownnum=ROUTO SMS";

       data = cust.OpenRead(URLAddres);

       reader = new System.IO.StreamReader(data);

       SMSConfirmID = reader.ReadToEnd();

       data.Close();

       reader.Close();

       info(SMSConfirmID);

  • Madhat Majid Profile Picture
    5 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Dear Ahmed,

    This is great, I have tried this but whenever I try to send message it still routes me through Outlook. Is it possible to share an xpo or a class where you have made the edit?

    Thanks

    Madhat Majid

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Dear Brother,

    I have created one JOB and written all the above code in it. Just provide your required mobile number and define the credentials. It will work.

  • Ashok Vardhineni Profile Picture
    275 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Hai AHMED ,

                         am getting a same problem ...but , i didn't get the solution...Could u plz send the complete details of same....i mean pre requirements for sending sms from ax..

  • Suggested answer
    Deepak Agarwal Profile Picture
    8,585 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Hi All,

    Check this link

    community.dynamics.com/.../218829.aspx

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: sending SMS From Microsoft Dynamics Ax

    Dear Gentlemen,

    Just visit the routotelecom website and create your user id, after having your personal credentials. Use your information within my provided code and believe me it is working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans