Query on Sending SMS from NAV

chandrurecchandrurec Member Posts: 560
Hi all,

I have configured in BulK SMS. and then I am using the code as follows


SMTP.CreateMessage('Purvesh','chandra@gmail','6581619420@bulksms.net',
'12345','Hello Sir, SMS From Navision...',FALSE);
SMTP.Send;
MESSAGE('Message Sent Successfully...');

When I run it , I am getting the mail to my gmail as follows.

Your email-SMS failed: Your message could not be sent: FAILED_USERCREDITS

Message was:
Hello Sir, SMS From Navision...

Your original email follows (some headers have been modified; your original email may have been shortened):

But I am not getting SMS to my mobile.

If anyone knows the reason for this, Kindly let me know.

Thanks in advance.

Regards,
Chandru.

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    chandrurec wrote:
    Your email-SMS failed: Your message could not be sent: FAILED_USERCREDITS
    Check if you have enough credits left to send SMS messages. You can either login and check your credit limit with bulksms.com, or use this API http://bulksms.vsms.net:5567/eapi/user/ ... d=abcd1234 which returns the number of credits left.

    SMS API Documentation: http://www.bulksms.com/int/docs/eapi/ac ... t_credits/
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • chandrurecchandrurec Member Posts: 560
    Hi Luc Van Dyck ,

    At present it is showing the credit as 0. But I want to do a testing of how it works before buying . Is there any option to get some free sample credits so that I can test once before I go for buying.

    Thanks & Regards,
    Chandru.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    If you register at bulksms.com, you receive 5 free credits.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • chandrurecchandrurec Member Posts: 560
    Hi Luc Van Dyck,

    Ya got it.

    Now its working fine.

    Thank you.

    Regards,
    chandru.
Sign In or Register to comment.