<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.isikhnas.com/index.php?action=history&amp;feed=atom&amp;title=Manually_sending_individual_or_bulk_SMS_messages%2Fen</id>
	<title>Manually sending individual or bulk SMS messages/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.isikhnas.com/index.php?action=history&amp;feed=atom&amp;title=Manually_sending_individual_or_bulk_SMS_messages%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.isikhnas.com/index.php?title=Manually_sending_individual_or_bulk_SMS_messages/en&amp;action=history"/>
	<updated>2026-09-02T02:21:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://wiki.isikhnas.com/index.php?title=Manually_sending_individual_or_bulk_SMS_messages/en&amp;diff=13161&amp;oldid=prev</id>
		<title>FuzzyBot: Importing a new version from external source</title>
		<link rel="alternate" type="text/html" href="https://wiki.isikhnas.com/index.php?title=Manually_sending_individual_or_bulk_SMS_messages/en&amp;diff=13161&amp;oldid=prev"/>
		<updated>2014-09-01T11:00:04Z</updated>

		<summary type="html">&lt;p&gt;Importing a new version from external source&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Halaman baru&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
=Sending SMS messages=&lt;br /&gt;
There are two possible ways to send SMS messages from the server (either to an individual, or to a group of users): using the Web site interface in the Administration section, or using a direct SQL connection to the database.&lt;br /&gt;
&lt;br /&gt;
==Web site interface==&lt;br /&gt;
* Log in to iSIKHNAS as an administrative user&lt;br /&gt;
* Go to Administration | SMS metadata | Send SMS Message(s)&lt;br /&gt;
* For a single message&lt;br /&gt;
** fill in the destination phone number&lt;br /&gt;
** fill in the message text&lt;br /&gt;
** click send&lt;br /&gt;
* For bulk SMS messages&lt;br /&gt;
** click 'Multiple options'&lt;br /&gt;
** Enter the area(s) to be sent to &lt;br /&gt;
** Select the user type(s) to be sent to&lt;br /&gt;
** Click to update the list&lt;br /&gt;
** Select or unselect any individuals on the list&lt;br /&gt;
** Enter the message to send&lt;br /&gt;
** Click send&lt;br /&gt;
&lt;br /&gt;
==Manual sending via direct database insert==&lt;br /&gt;
Administrators with appropriate database privileges can send messages by directly inserting them into the SMS outbox table on the database, using a message id of '0'. The table is checked periodically for any messages with an ID of zero, which are then automatically sent. &lt;br /&gt;
&lt;br /&gt;
To insert messages into the table, use the following generic SQL structure:&lt;br /&gt;
&lt;br /&gt;
 insert into outbox (phone, message, msgid, createdby)&lt;br /&gt;
 select &lt;br /&gt;
    phone, &lt;br /&gt;
    'Message to send', &lt;br /&gt;
    0, &lt;br /&gt;
    2  -- id of the current user (person creating the messages)&lt;br /&gt;
 from users u&lt;br /&gt;
 where not u.del&lt;br /&gt;
 and phone is not null&lt;br /&gt;
 and left(phone,2) = '62' -- only numbers in Indonesia&lt;br /&gt;
 -- add any other filters here. For example&lt;br /&gt;
 -- and groupid = 4 -- filter for a specific user group&lt;br /&gt;
&lt;br /&gt;
'''Be very careful of this approach as poorly formed SQL can accidentally generate very large numbers of messages.'''&lt;/div&gt;</summary>
		<author><name>FuzzyBot</name></author>
		
	</entry>
</feed>