Hi All sitting with a problem trying to forward a incoming message to another cell phone using custom.
I have a keyword that has reply on and it just sends a message back to the sender saying thanks etc.
I then want to forward this message with the number to a designated cell number the problem is I am only getting the first word of the message using $sms_sender = $_REQUEST[‘sender’]; $message = $_REQUEST[‘raw’];
This is the line that sends the message to the cell phone.
Must be someting small as I also forward the mail and that works perfect.
// Send Customer Message & Number mailbox
$to = 'email@example.com' ; $headers = 'From: firstname.lastname@example.org' . "\r\n" . 'Reply-To: email@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $subject = "SMS Message from $sender"; $body = "$message" ; (mail($to, $subject, $body, $headers))