Send SMS Text Messages Worldwide from any Computer - iPiPi.com Login to iPiPi Personal Accounts Corporate SMS Partners About iPiPi.com Contact iPiPi.com
 
 

Send Text Messages Using PHP

Text messages - Send SMS - International Messaging Service

Example code to send text messages written in php. This code requires phpmailer class. You can download free phpmailer from http://phpmailer.sourceforge.net/. This code is provided as sample only.

<?php
require("class.phpmailer.php");

$mail = new PHPMailer();

$mail->IsSMTP(); // set mailer to use SMTP
$mail->Host = "ipipi.com"; // specify main and backup server
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Port =25;
$mail->Username = "YoureIPIPIUsername"; // SMTP username at ipipi
$mail->Password = "YourPassword"; // SMTP password

$mail->From = "YourUserName@ipipi.com";
$mail->FromName = "Your Name";
$mail->AddAddressTo("DestinationPhoneNumber@sms.ipipi.com", "Receiver Name");

$mail->Subject = "Compression Option goes here - find out more";
$mail->Body = "Your Message";

if(!$mail->Send())
{
   echo "Message could not be sent. <p>";
   echo "Mailer Error: " . $mail->ErrorInfo;
   exit;
}
echo "Message has been sent";
?>


 
 

Home - Contact Us - Privacy Policy - Terms of Service - Help - Links - Site Map
International SMS - SMS - SMS Messaging - Text Message - Send SMS - Email to SMS - WEB to SMS
Copyright 2001-2007 Upside Wireless Inc. All rights reserved