I wanted to use Automagic to forward sms messages to email. I wrote a tiny php script that is opened by automagic via http post.
Code: Select all
if ($_POST['type'] == "text") {
$subject = "SMS erhalten";
$message = "Absendername: ".$_POST['name']."\nNummer: ".$_POST['number']."\nNachricht: ".$_POST['text'];
}
In general this works, but when an sms contains a comma (,) I only get the string until the comma, the rest of the string in {sms_text} is deleted. I don't know why...can you help me?
Thank you!