Support forum
Hello Chester,
If a message is marked as 'Sent' in the send log of Diafaan SMS Server it means that the message is received and accepted by the SMS network/service. When the message is not received on the mobile phone then the most likely cause is that the message is blocked by the mobile network. Perhaps the message is regarded as spam or maybe the network blocks duplicate messages.
Regards, Henk
8:01 am
I'm using the basic code from the website with little modification:
<?php
echo WISMS( '+xxxxxxxxxxxxxx', 'XXXUpdate: Your child XXXXX tapped in at 11:49:05 AM today Jan 10, 2024.');
function WISMS($number, $message)
{
/* Create the HTTP API query string */
$query = 'http://192.168.93.214:9710';
$query .= '/http/send-message/';
$query .= '?username='.urlencode("admin");
$query .= '&password='.urlencode("password");
$query .= '&to='.urlencode($number);
$query .= '&message='.urlencode($message);
/* Send the HTTP API request and return the response */
return file_get_contents($query);
}
It works however, if I hit refresh or call the code again, it sends in the console but i can't receive the message on my mobile number (to) anymore.
Most Users Ever Online: 529
Currently Online:
4 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1156
Posts: 3946
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1511