Thanx Ramesh Sb., I have tried your method and works fine. No errors. My cURL contains three variables that I pass to the SMS Send function after each invoice is generated. Those are BrandName, Recipient, and TextSMS. The API code provided by the service provider.. cUrl := "https://sendpk.com/api/sms.php?api_key=923289536375-280edb13-b5f6-43e6-8b3c-45420519ce9c&sender=BrandName&mobile=92365483575&message=TestSMS" ...