Sending text notification with php?

3 replies
When someone signs up to join my website the php script sends me an email but I would prefer that it sends me a text message to my phone. Any ideas on how to do that?
#notification #php #sending #text
  • Profile picture of the author BDazzler
    Look into twilio.
    {{ DiscussionBoard.errors[9800056].message }}
    • Profile picture of the author webmaster2015
      Thanks BDazzler but I figured it out, it's very easy,

      $to = '';
      //after the @ is for Sprint service look up email to text for your carrier address
      $subject = 'put subject here';
      $message = 'put message here';
      $headers = "From: email\n";

      mail($to, $subject, $message, $headers, '');
      If you do classified advertising
      You need a Delayed Autoreply Service
      {{ DiscussionBoard.errors[9800087].message }}
  • Profile picture of the author geekSoftware
    Personally for my membership website I'm just sending email to my personal email and on mobile I have BlueEmail application which send me notification about new email, so I'm doing that for free and also getting instant notification. Maybe something like that will work for you too.
    {{ DiscussionBoard.errors[9800273].message }}

Trending Topics