Hi, any one help me
here i am attaching source code to send sms using php code it show the message "message sent successfully " but message is not delivered
code:
please give me reply
Thanks in advance
Ramana
here i am attaching source code to send sms using php code it show the message "message sent successfully " but message is not delivered
code:
Code:
<? # 10 digit number .. can get it from a form using post method $from="91xxxxxxxxxxxx@ri.irisme.net"; # convert it to an email format $to="91xxxxxxxxx@ri.irisme.net"; $subject="hi"; # message body .. can get it from a form using post method $body = @$_POST['message']; $header= "From:". $from."\r\n"; $header.= "X-Mailer: PHP/". phpversion(); if (mail($to,$subject,$body,$header,"-f $from")) { echo "To: $to \n" . "<br>"; echo "From: $from \n" . "<br>"; echo "Message: $body \n"; echo "message sent successfully."; } else { echo "Message delivery failed…\n"; } ?>
Thanks in advance
Ramana
Comment