You might be wondering what SMS gateway means. Once you’re done with your message, type in the recipient’s phone number, excluding the country code, and add the SMS gateway specific to the recipient’s mobile service provider. Access your email using any web browsers (such as Chrome, Safari, Firefox, Microsoft Edge, and any other browsers available), and compose your text message. Browser selection also plays no significant role in doing this. The choice of device is not relevant for sending text messages using your email. You only need a couple of things to pull off this trick: the recipient’s number and mobile service provider. Yet, there’s a clever way to send a text message using your email, and it is easier than you think. Many people think that text messages – also known as short message service (SMS)- are only available through a mobile phone. Are you interested to know? Here are some of the ways you can send text messages from a computer. We can do this stuff using a computer and a reliable internet connection. Whether you left your phone at home or simply lost it along the way, it is nice to know that there are options you can turn to send and receive text messages. What can you do if you ever misplace your phone and you think there’s no other way to send the important message you have in mind? How Do I Send a Text Message From My Computer?
I hope you enjoyed this post if you think i missed any thing feel free to dm me on twitterįurthermore, here's the python module that I wrote that allows you to send text messages without twilio.A text message is one of the staple features of a mobile phone, and it has been that way for a couple of decades now. So this was our simple python script that will allow you to send text messages to your phone. sendmail ( email, sms_gateway, sms ) # lastly quit the server attach ( MIMEText ( body, 'plain' )) sms = msg. Msg = "You can insert anything \n " # Make sure you also add new lines to your bodyīody = "You can insert message here \n " # and then attach that body furthermore you can also send html content. Msg = MIMEMultipart () msg = email msg = sms_gateway # Make sure you add a new line in the subject login ( email, pas ) # Now we use the MIME module to structure our message. SMTP ( smtp, port ) # Starting the server Smtp = "" port = 587 # This will start our email server # and port is also provided by the email provider. Import smtplib from import MIMEText from import MIMEMultipart email = "Your Email" pas = "Your Pass" sms_gateway = # The server we use to send emails in our case it will be gmail but every email provider has a different smtp
So every carrier has their own sms-gateways and you can read more about it here SMS GATEWAYS.
In order to send text message to your phone all you need to know is sms-gateway. Whenever we talk about sending an SMS to our phone using any programming language the first thing that comes into our head is Twilio SMS library.But in this post we are going to avoid twilio and use python builtin module SMTPLIB I know it sounds crazy since SMTPLIB is used to send emails but we can also send text messages using that module.