Send MMS Messages
Using our Outbound MMS Service you can send pictures, videos or sound files to your customers, staff and prospects. All MMS messages are free for recipients to receive.
Txtlocal can create the MMS you wish to send out. We can then send it to your recipients. Alternatively, we can provide training support so you can create your own MMS files.
Example Uses
As with all our services, there are hundreds of potential uses, a few are:
- Increase Sales
An MMS could be sent to existing customers promoting other products and services. - Product Launch
Send your best clients an MMS with pictures and copy of a new product prior to its launch.
- Estate Agents
In conjunction with a short code, people could text in a property number and immediately receive an MMS containing photos of some of the rooms, a description and a price as well as contact details.
Features
Here are some of the benefits of using our Outbound MMS service:
- Free to Receive
- All MMS messages are FREE for the recipient to receive.
- Full Multi Media Presentation
- Send anything from photos or music files to full multi media slideshows incorporating text, images and sound.
- MMS Creation
- If you don't have the expertise to produce an MMS yourself then we can produce this for you.
- Automated Processing
- Through the use of our MMS Programmer's Interface (works in the same way as our SMS Programmer's Interface) you can automatically send out MMS. For example you could send a Product Demonstration from a text in short code request.
- Full UK Network Coverage
- MMS files can be sent to anyone on any UK network.
- subject
- The MMS subject. Must be less than 20 characters.
- url
- The URL of the MMS ZIP file on your server. Download examples of MMS ZIP files here & here
- from
- The "From Address" that is displayed when the message arrives on handset. Must be pure numeric. Min 3 chars, max 12 pure numeric chars.
- uname
- Your txtlocal.com username.
- pword
- Your txtlocal.com password.
- number
- A valid UK mobile number. The number must be numeric only (no + symbols, hyphens or spaces), and it must be in international format. For example, 447xxxxxxxxx.
<?php
// Authorisation details
$uname = "youremailaddress";
$pword = "yourpassword";
// Data for text message
$url = "http://www.txtlocal.co.uk/zips/sweetdreams.zip";
$subject = "My Subject";
$subject = urlencode($subject); //encode special characters (e.g. £,& etc)
$from = "07786200350";
$number = "447740101097";
// Prepare data for POST request
$data = "uname=".$uname."&pword=".$pword."&url=".$url."&from=".
$from."&number=".$number."&subject=".$subject;
// Send the POST request with cURL
$ch = curl_init('http://www.txtlocal.com/sendmmspost.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch); //This is the result from Txtlocal
curl_close($ch);
?>
<%
subject = "My Subject"
subject = Server.urlencode(subject) 'encode special characters (e.g. £,& etc)
from = "07786200350";
uname = "youremailaddress";
pword = "yourpassword";
number = "447740101097";
url = "http://www.txtlocal.co.uk/zips/sweetdreams.zip";
url = address & "?uname=" & uname & "&pword=" & pword & "&url=" & url & "&from=" & from & "&number=" & number & "&subject=" & subject
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "POST", url, false
xmlhttp.send ""
msg = xmlhttp.responseText
response.write(msg)
set xmlhttp = nothing
%>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<script language="C#" runat="server">
void Page_Load(Object Src, EventArgs E) {
myPage.Text = readHtmlPage("http://www.txtlocal.co.uk/sendmmspost.php");
}
private String readHtmlPage(string url)
{
String result = "";
String strPost =
"uname=youremail@domain.com&pword=yourpass" +
"&url=http://www.txtlocal.co.uk/zips/sweetdreams.zip&from=07786200350" +
"&number=447740101097&subject=mysubject";
StreamWriter myWriter = null;
HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create(url);
objRequest.Method = "POST";
objRequest.ContentLength = strPost.Length;
objRequest.ContentType = "application/x-www-form-urlencoded";
try{
myWriter = new StreamWriter(objRequest.GetRequestStream());
myWriter.Write(strPost);
}
catch (Exception e)
{
return e.Message;
}
finally {
myWriter.Close();
}
HttpWebResponse objResponse =
(HttpWebResponse)objRequest.GetResponse();
using (StreamReader sr =
new StreamReader(objResponse.GetResponseStream()) )
{
result = sr.ReadToEnd();
// Close and clean up the StreamReader
sr.Close();
}
return result;
}
</script>
