Forum Moderators: coopster
I have had the thought of notifiying customers with SMS Messages once changes occur on the orders they put, and I wanted that SMS to be triggered internally from the control panel when I change status like changing the status to shipped.
If you can guide me with any website providing that service using PHP scripts, I would appreciate it.
Thanks,
Habtom
Good luck! :)
Note: Specific recommendations of tools or services are against WebmasterWorld's TOS [webmasterworld.com].
<?php
$to = "phonenumber@example.com "; //each carrier has their own way.
$from=" Joe <sales@example.com>" ;// I'm not sue if you even need this.
$subject = "Hi!";
$body = "Hi,\n\nHow are you? Something changed...blah, blah, blah";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
Or you could use an SMS service or set up your own SMS server.
Regards...
[edited by: dreamcatcher at 9:12 am (utc) on Mar. 25, 2007]
[edit reason] Use example.com, thanks. [/edit]