Sample SMS XMLAPI

The below is a sample SMS XMLAPI that sends an SMS to two recipients.

For this example, another file is used - bodyfile.txt. Store it in c:\temp\ before storing the XMLAPI in the pickup folder. GFI FaxMaker deletes bodyfile.txt from c:\temp\ when it picks up the XMLAPI.

<?xml version="1.0" encoding="utf-8"?>
<faxmakerdata>
	<fields>
		<bodyfile type="text/plain">
			c:\temp\bodyfile.txt
		</bodyfile>
	</fields>
	<sender>
		<emailaddress>
			jsmith@mycompany.com
		</emailaddress>
	</sender>
	<recipients>
		<sms>
			<recipient>
				<smsnumber>
					+1 800 2222 2222
				</smsnumber>
			</recipient>
			<recipient>
				<smsnumber>
					+1 800 3333 3333
				</smsnumber>
			</recipient>
		</sms>
	</recipients>
</faxmakerdata>