How to send text messages for free using Python | Use Python to send text messages via email

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • Using SMS and MMS gateways we can send text messages to phones from a computer via email. With this strategy, we can use a combination of the Python SMTP and email library to send text messages programmatically for free! This not only includes short text messages, but also multimedia messages with pictures, videos, or any file! This can be super helpful when you want to send yourself notifications for your Python projects.
    Code: www.alfredoseq...
    👨‍💻 I made this into a python module if you don't want to write the code yourself: github.com/alf...
    📱 Follow me on social: alfredo.lol/so...
    #python #text #twilio
    Gear:
    📷 Canon EOS Rebel T7i
    💻 Intel i7 XPS 13 16GB RAM (Arch Linux)

Комментарии • 225

  • @AlfredoSequeida
    @AlfredoSequeida  3 года назад +8

    Code for this project: www.alfredosequeida.com/blog/how-to-send-text-messages-for-free-using-python-use-python-to-send-text-messages-via-email/
    I recently found this site, which has SMS gateways for multiple countries, which might be helpful if you are not in the US: email2sms.info/
    Note, if you are following the tutorial, you will notice a function to get a config file using JSON. This is only because I didn't want to show my login info while making the video. You don't need this function.
    You can make your code a lot shorter, by installing the package I made for this project.
    install: pip install etext
    use:
    from etext import send_sms_via_email
    phone_number = "123-123-1234"
    message = "hello world!"
    provider = "T-Mobile"
    sender_credentials = ("email@gmail.com", "email_password")
    send_sms_via_email(
    phone_number, message, provider, sender_credentials, subject="sent using etext"
    )
    You can see the documentation for this module here: github.com/AlfredoSequeida/etext

    • @ACodingWoof
      @ACodingWoof 3 года назад +1

      My work made easier Thank you

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад +1

      @@ACodingWoof any time ;)

    • @redahalofi6415
      @redahalofi6415 3 года назад +1

      config.json ???

    • @redahalofi6415
      @redahalofi6415 3 года назад

      json.load() ? load() missing 1 required positional argument: 'fp'

    • @berniegorge6833
      @berniegorge6833 3 года назад +1

      Boy a Mira todos tus tutorials as en español # ( gracias )#*

  • @SteveOlekszyk
    @SteveOlekszyk Год назад +3

    I have been around the internet for a week and this is the clearest description with a great step by step. Thanks.

  • @Bradmagus
    @Bradmagus 2 года назад +2

    What an excellent tutorial, it’s educational & concise! Thank you for this, every other tutorial uses a paid API but this one does it for free!

  • @TheRealMrPeach
    @TheRealMrPeach 2 года назад +1

    Thank you Alfredo, this saved me a ton of time creating a notifier for changes to my dynamic DNS.

  • @casualgamer91
    @casualgamer91 Год назад +1

    Hi Alfredo - thank you so much for your informative video! I learned so much and successfully sent my 1st text via email! Appreciate you bro. Keep up the good work!

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      Glad to hear it!

    • @BeatrizMartins-qu9id
      @BeatrizMartins-qu9id Год назад

      Hi. What's the phone carrier that did you test? I want to try this solution but I'm afraid to buy a phone number that doesn't work

  • @dronesic4345
    @dronesic4345 3 года назад +2

    You are THE MAN. Very nice delivery of information

  • @leslierhorer1412
    @leslierhorer1412 9 месяцев назад

    Excellent tutorial! Very easy to understand even for inexperienced coders, but not boring for an advanced developer. Well done, sir.

  • @scali5948
    @scali5948 3 года назад +4

    Totorial was mint bro, nice number leak lol and code works amazing even wit non US providers

  • @MomsEasyCookingRecipe
    @MomsEasyCookingRecipe 6 месяцев назад +1

    Great...Video...As Usually...I have question..do Indian Service Provider Also provide such service...

    • @AlfredoSequeida
      @AlfredoSequeida  6 месяцев назад +1

      Thank you, unfortunately I don't have an answer to your question.

  • @jonathanroiz4140
    @jonathanroiz4140 2 года назад +2

    How would u have the person u send the text to be able to react to the text, and do something depending on what they react?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад +2

      It works both ways, you can reply to the message you receive and you can see that reply in your email inbox. So it would just be a matter of writing the code to check for that email and perform some action. This might be a good idea for a follow-up video 🤔.

    • @SolidBuildersInc
      @SolidBuildersInc 2 года назад +1

      @@AlfredoSequeida ABSOLUTELY
      Can we colpaborate on that?
      I have some ideas.....
      I AM an "Advanced Beginner", lol
      With some Cool Collaboration Tools....
      Just let me know, I'm all in during the DAY.

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      @@SolidBuildersInc I would love to, but unfortunately, my time is limited right now and will be for a few more months (which is why I haven't been posting).

    • @HuyVu-fe2sw
      @HuyVu-fe2sw 2 года назад

      Hi Alfredo, with this method, you will need to know the receiver carrier?

  • @ACodingWoof
    @ACodingWoof 3 года назад +2

    Nice Work! Imma try this later

  • @InfographieMania
    @InfographieMania 3 года назад +1

    I can't run the script to test the API
    However I installed all the modules and created the files
    => providers.py
    => etext.py
    => exceptions.py
    => sms.py
    and I copied their content.
    I receive
    ModuleNotFoundError: No module named 'etext

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      You don't no need to create any of those files if you are using the etext module. Just install it using pip. If you're having trouble with the installation, watch this: ruclips.net/video/ci8FvBSIl4Y/видео.html

  • @pmAdministrator
    @pmAdministrator Год назад +1

    What you showed here, the message you got, was in an Email app. This is not a text message to a phone number, this is just an Email. I don't get why they need the phone number for this, that's just dumb since you can just send en actual Email to the same app that you showed here, and it's more simplier. Makes no sense.

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      If you're referring to the message I showed on my phone when I sent the email to the sms gateway - that application is my sms app, not an email app. The phone number is necessary so that the receiver receives the message on their phone. Sending an email to a domain name ie: 'somename@domain.com' will not yield the same results since you won't get the message via sms, but rather via email.

  • @naturallydope247
    @naturallydope247 Год назад +1

    Im a super beginner and been trying to figure this out for 2 days. I’m going to try this. Thank you for explaining this. Is there a way to do this all at once to multiple numbers? I have about 20 diff messages to send

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      Definitely, use a loop, something along the lines of:
      numbers = [12312312,123123,123123123,123123123]
      for number in numbers:
      call_the_sms_function(params, number, etc)

  • @ll__LOVE__ll
    @ll__LOVE__ll 4 месяца назад +1

    is it still working ? i couldn't get it to work ! no errors, we used email and App password that we have created, correct? is there is anything else in the code that we need to change ? any way to debug errors ?

    • @AlfredoSequeida
      @AlfredoSequeida  4 месяца назад

      Just tested it, still works

    • @AlfredoSequeida
      @AlfredoSequeida  4 месяца назад

      If you're sending and not receiving any errors it might be your phone/email provider not allowing the message. If you look at the comments here you might find work arounds.

  • @petiepooo2
    @petiepooo2 2 года назад +1

    How many people kept watching to the end just to see if he corrected the "smpt_port" variable name?

  • @danielatuesta55
    @danielatuesta55 Год назад +1

    Hey Alredo!
    Thank you for the cool video. I am getting stuck in the sender credentials tuple. Is this stored somewhere else? What would be the overall structure of this tuple? Thank you

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      In the video, I stored it outside of the file to keep my credentials private from those watching the video. However, that's not necessary. The tuple looks like this:
      ("email@email.com", "password")

  • @maindepth8830
    @maindepth8830 3 года назад +4

    Was looking for something like this. Is this usa only

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад +2

      That's a good question, I spent some time looking for sms gateways for other providers and I found some for Canada, but I had trouble with other countries. However, as long as you can find the sms gateway and it supports email, then you should be able to do it.

  • @spartacusyusuf9989
    @spartacusyusuf9989 2 года назад +1

    Don't know if it's a problem at my end but i used laravel php for this and its showing number for At&t gateway for from instead of my email

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Do you mean the receiving message on a phone shows up as a message from a phone number?

    • @spartacusyusuf9989
      @spartacusyusuf9989 2 года назад +1

      @@AlfredoSequeida yes

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      I haven't seen that before, maybe AT&T's gateway uses a number to forward sms messages.

  • @jacarthymack1111
    @jacarthymack1111 2 года назад +1

    What are the step by step instructions for Jupyter notebook. Everything in the video makes sense except for putting them both in the same directory . When attempting to operate in the same notebook but different cells I have a error message in regards to provider. ModuleNotFoundError Traceback (most recent call last)

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      I'm not familiar with jupyter notebook, but that error implies you're missing one of the dependencies. It would be helpful to see the full error.

  • @elijahball4983
    @elijahball4983 2 года назад +1

    Anyone have any idea why the text part of the MMS goes through but not the multi media? I set this up to send an audio file (mp3) and I can see that my email is sending the audio file but when I text my phone (At&T) no audio file, just text. I am using MMS code not SMS, my subtype is mpeg and main type is audio. Any help?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Two things that come to mind 1) make sure the path to the file is correct (try using the full absolute path) 2) check to see if at&t has any restrictions on what can be sent. Someone told me that you can block email to SMS on at&t via their customer web portal. So see if it's maybe not enabled for MMS.

    • @amark2547
      @amark2547 Год назад

      i also had this issue, it is probably your attachment size. For AT&T, it's 1MB max for attachments.

  • @tryit7028
    @tryit7028 2 года назад +1

    Which provide we should use it it India and please tell use how can use it as module that you given in your description

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      I'm not familiar with India's phone providers, so I don't know how that would work. However, if you can find SMS email gateways for your provider, then it should work. You can find the module along with documentation here: github.com/AlfredoSequeida/etext/

  • @sanihasan5079
    @sanihasan5079 2 года назад +1

    Great vid and explaination bro, can i just modify the Providers file and add a few of my region specific providers after installation and still expect it to work?

  • @rantun6393
    @rantun6393 Год назад +1

    How would you write this to send a message to multiple people? For loop on the number variable?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад +1

      Yes, with maybe a sleep after each send so your email provider does not mark it as outgoing spam.

    • @rantun6393
      @rantun6393 Год назад +1

      @@AlfredoSequeida I've also noticed verizon numbers don't work I even did it manually through my email and the phones don't receive texts. Have you come across this?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад +1

      @@rantun6393 I don't believe I have tried any verizon #s, I would check if any other gateway addresses exist. Also I know tmobile users have the option to disallow sms via email in their user dashboard, so verizon could have a similar feature.

  • @DMTravelCinematography
    @DMTravelCinematography Год назад +1

    Does this apply to any providers? Or only certain numbers have to follow specific providers?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      This applies to any provider that has an email to sms gateway.

  • @CyberBizAssistance
    @CyberBizAssistance 2 года назад +1

    Thanks for the video. The problem is that Gmail will block/suspend your account if you use it for texting through the Gmail. I use to do this 2 years ago and sent only 3 similar texts through Gmail one time, and Gmail suspended my account without giving me a reason. My texts were only about a cooking tip to my friend. I didn't even send it as a group text LOL So be careful with Gmail. Also the other problem is that AT&T blocks most texts coming from emails. If you can find a work around all these problems, let me know plz.

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Thank you for the information! I personally haven't been blocked/suspended for sending text messages this way, but it's good to know that it can happen. As for AT&T, I know T-mobile has a feature that lets you enable/block incoming email messages, so if you're trying to send messages to yourself, check to see if AT&T has a similar feature. For T-mobile, you can find this feature in the web control panel for your account.

  • @RafeMarriott
    @RafeMarriott Год назад +1

    How do I get it to work with a UK phone number?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      You will need to find sms gateways for the UK providers (assuming any exist). Search online. If they do exist, they should not be too hard to find.

  • @ReverendZen
    @ReverendZen Год назад +1

    Would there be a way to modify this application so that it could bcc multiple people?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      Definitely, you just need to add the code for it.

  • @SHREK2
    @SHREK2 11 месяцев назад +1

    Hey Alfredo, is there a way to send without knowing the providers?

    • @AlfredoSequeida
      @AlfredoSequeida  10 месяцев назад

      Unfortunately not without looking up the phone # (to find the provider), which costs money. However, a while ago, I had the idea of just sending the message to all providers. This would mean some don't get sent, and the one that is correct will. However, it also increases the chance of providers marking your email address as spam.

    • @AlfredoSequeida
      @AlfredoSequeida  10 месяцев назад

      I've answered this in more detail before here: github.com/AlfredoSequeida/etext/issues/3#issuecomment-1023376507

  • @jason-me6pg
    @jason-me6pg Год назад +1

    Bruh I need to send sms to US to my clients as a reminder can you help me with that

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      Did you follow the tutorial?

    • @jason-me6pg
      @jason-me6pg Год назад

      @@AlfredoSequeida can I have your number to discuss with you about it

  • @datmesay
    @datmesay 3 года назад +2

    If somebody know how to get the French sms gateways that'd be great

  • @natyman4084
    @natyman4084 Год назад +1

    does these work if the receiver is offline

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      I don't know, but I would imagine the message would be treated like any other SMS message, so I'm inclined to think it will work.

  • @dev_apostle
    @dev_apostle Год назад +1

    How did you set up the config file

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      It's not necessary, but here is some python documentation. Essentially, the config file is a json file with the data you want. Then you read the file and parse the json data
      docs.python.org/3/library/json.html

  • @rli5793
    @rli5793 2 года назад +1

    Hey Alfredo, thanks for the great tutorial and code. I have the code working but got Username and password not accepted error. Also went to App Password on google and it says "The setting you are looking for is not available for your account." Any ideas? Thanks

  • @Czar1249
    @Czar1249 Год назад +1

    I'm getting an SMTPlib authentication error when I try to use this code for SMS messaging. I'm not using the config.json as you have it in the video, but I am typing the credentials in directly instead. I triple-checked and the credentials are correct.

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      What's the error? Also, if you are using Gmail, you will need to setup an app password.

    • @Czar1249
      @Czar1249 Год назад

      @@AlfredoSequeida that was the problem! GMail requires an app password and making one and using it instead fixed my issue. Thanks!

  • @buffaloBean
    @buffaloBean Год назад +1

    thank you for the video!

  • @ninjaman570
    @ninjaman570 2 года назад +1

    I'm not sure if you're still keeping up with this video but when I attempt to run the code I get an error of:
    AttributeError: module 'Sending.PROVIDERS' has no attribute 'get'
    I'm pretty new to python and I'm unsure of what needs to be done here.

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      So the .get() function is meant to work with a dictionary object, which in or case if PROVIDERS. So, I'm curious to know what `Sending` is you your case. Show me the like of code that you are getting the error with and how you imported the PROVIDERS dictionary.

    • @ninjaman570
      @ninjaman570 2 года назад +1

      I figured out the problem here! so when I copy/pasted the code for providers, I named the .py file PROVIDERS (all upper case) and the syntax wasn't sure what to do. After renaming the file to providers, the code worked great. Just curious, is there any way for this to work the other way? Send a text back through my email and have it execute code so I could essentially create an interface through text?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      @@ninjaman570 Glad to hear you got it to work. Yes, if you reply to the message you get on your phone, you will receive that message in your email. So if you want to somehow catch a response, you can check your emails periodically (or use some sort of hook) to catch any messages you receive and perform an action.

    • @ninjaman570
      @ninjaman570 2 года назад +1

      @@AlfredoSequeida I reply on my phone to the text and I’m not receiving an email. I’m using gmail, and an iPhone. It’s texting through iMessage, so you think that could cause it not to work?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      @@ninjaman570 I'm not completely sure. But I can tell you that I have tested replying back and it works on my Android phone. Just Incase you didn't check this already - try the spam folder.

  • @AstronautAJC
    @AstronautAJC Год назад +1

    THANKS MAN

  • @nicolegeorge8659
    @nicolegeorge8659 2 года назад +1

    Is there any parameter to add to the code to make the sending faster ?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      The speed for sending/receiving messages is dependent on your email provider. So there isn't much you would be able to accomplish by changing the code.

  • @scottlondon1803
    @scottlondon1803 2 года назад +1

    what is limit per day to send email to text this way ?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      It depends on your email provider and the type of account. For example, I believe that Gmail has a limit of 500 emails per day for free accounts via their web interface and 100 emails per day for external clients. I believe that this would count as an external client, so I would guess 100 emails per day would be the limit for free Gmail accounts. On the other hand, If I recall, paid workspace accounts can go up to 10,000 emails per day.

  • @sterlingwingard4298
    @sterlingwingard4298 2 года назад +1

    Excellent Content - I'm seeing a similar issue that others have had - where there was a delay in the email hitting the sent box of my email vs when it actually sent to my text messages. Do you know if there is any solution on this? So far, I've only tested a few - but I'm seeing like ~10 minute delay for the sms message to come through

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Thank you! Unfortunately, I don't have a solution for this, I think it's just up to the gateway to decide when they want to deliver the queued message.

  • @Carlos-nb6mb
    @Carlos-nb6mb 4 месяца назад

    Google does not seem to have App Password anymore. Would it work with Passkey?

    • @AlfredoSequeida
      @AlfredoSequeida  4 месяца назад

      App password is still available: myaccount.google.com/apppasswords

  • @evansosagie1315
    @evansosagie1315 2 года назад +2

    can i send a message from US to nigeria

  • @olivequinn1755
    @olivequinn1755 Год назад +1

    Hi, thank you for this tutorial it is very helpful, I am having the issue that it does send and I can see it in my email but it says that the email couldn't be delivered because the domain doesn't exist, I'm using cricket sms domain if that helps. I triple checked that the number is correct also, please let me know if you know anything that could fix this.

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      The only think I can think of is you might have the wrong domain / gateway. If i recall, cricket uses att's network. So try using att's gateway. Otherwise, see if you can find a different domain/gateway for cricket's network.

    • @BeatrizMartins-qu9id
      @BeatrizMartins-qu9id Год назад

      Hi, Olive. What's the phone carrier that did you test? You did it after it? I want to try this solution but I'm afraid to buy a phone number that doesn't work.

  • @fotiem.constant4948
    @fotiem.constant4948 3 года назад +2

    First here!😁

  • @malikabdul2217
    @malikabdul2217 2 года назад +1

    Boss please can we integrate it and send it through php

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Yes, you just need to re write the logic in php or call the python script from your php program.

  • @medelbardi626
    @medelbardi626 2 года назад +1

    I think this method working only for usa and canada provider

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      It should also work anywhere where a phone provider has an email SMS gateway setup. Here is a list of SMS gateways you can look at filtered by county. email2sms.info/

  • @SolidBuildersInc
    @SolidBuildersInc 2 года назад +1

    Great video and very well explained. I did implement and received all my emails into GMail, but only got one text message to come through. Do you have any idea what may be happening ? I thought maybe a cron job from GMail, but nothing seems to be happening after the success of the 1st. I sent about 5 or so and they went to GMail nicely. Any suggestions would be appreciated.

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад +1

      I'm glad you enjoyed the video! One thing that might be worth checking out is your provider's spam policies. If your provider thinks that the email message is spam, the text might not be received on your end. I know T-Mobile has a feature in their web portal that let's you block incoming email messages, so maybe your carrier has something similar that was enabled automatically if it detected spam. If possible, try not to send too many messages at once, that could also raise some spam flags. One more thing you can try is a different email address just to make sure that your carrier is not specifically blocking that email. I hope that helps!

    • @SolidBuildersInc
      @SolidBuildersInc 2 года назад +1

      @@AlfredoSequeida
      Thanks for the tip.
      1st - The emails did start pouring in through the night, so I would not use this for certain types of production processes, like "Just In Time Delivery", but would be great for lightweight reporting, surveying and marketing.
      2nd - I had another issue that was observed and that was the ......"attachment was removed" message was in the received text message with no attachment. Have you come across this challenge?
      3rd - I know there is a library called "phonenumber" that offers the ability to obtain the carrier name of a number programmatically instead of a lookup from the providers.py file with a variable input.
      Have you considered trying something like this and if so, what was your experience? Here is a great link I found after writing up this response, lol - I will be looking into this myself stackabuse.com/validating-and-formatting-phone-numbers-in-python/
      Carriers in the U.S. appear to be guarding that meta data, but maybe a test could be run to get a 200 code using a ping before sending the email. This way we don't need the receiver to provide the carrier they are using. One less thing to put on the end user to be a solution.
      Thanks again

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      @Davis Rogers 1) It's good to know that you at the very least did receive something. I personally have not experienced delays when sending messages in the past. But I know you're not the only one that has experienced this issue, which is why I plan on making another video with a more reliable solution based on push notifications using data instead of SMS (also free of course). I just haven't had the time to get to that.
      2) Also, unfortunately, I also have not come across a scenario where any sent attachments have been removed I'm curious to know if you have kind of filters set up on your phone that would prevent attachments that might be recognized as "phishing attempts" (because of the unusual way of sending the message via email).
      3) That's really interesting! As far as I was aware, in the US you need to pay money to get access to that data. Twilio has a service that lets you get the carrier of a number, but for a fee. For a bit, I looked around to see if I could figure out how they were doing that, but I didn't find a solution. It might be interesting to look at the source code for phonenumber to see if we can figure out something for that. As of now, the best solution I have to NOT have to put the carrier information is to send multiple messages in a loop to all of the carriers in the list. Something like:
      for provider in PROVIDERS:
      send_sms_via_email(...all the params, provider)
      And then check which ones did NOT fail. This way you can get a better idea of the carrier. But this would likely need to be a one-time thing and then the carrier would need to be saved to prevent your email address from being marked as spam.
      If you do figure something out, consider submitting any code changes to the git repo, I have had a few people asking the same question before.

    • @SolidBuildersInc
      @SolidBuildersInc 2 года назад +1

      @@AlfredoSequeida I think I found a solution to explore. Can I share it over What'sApp or email ?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      @@SolidBuildersInc definitely, feel free to email me alfredosequeida01@gmail.com

  • @mr.krouton
    @mr.krouton 2 года назад +1

    App passwords aren't available for my account. Help pls

    • @higgsboson9795
      @higgsboson9795 2 года назад +1

      You need to enable 2FA first..go to security in your google account window and enable 2FA after that when u go to security again there should be a third option for app passwords

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      I would try what Aditya said.

  • @soumyaranjan6941
    @soumyaranjan6941 Год назад +1

    hii bro , am from india , how can i use this service ?
    does it work in our country also?

    • @AlfredoSequeida
      @AlfredoSequeida  Год назад

      if you can find sms gateways for your phone providers it should work.

  • @yoyogavri7253
    @yoyogavri7253 3 года назад +2

    How do I message several people?

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      Use a loop where the phone number and carrier changes with every call to the sms or mms function.
      So for example you can do something like this
      people_to_message = {"123123123": "AT&T", "222222222": "T-Mobile"}
      message = "hello!"
      sender_creds = ("email@email.com", "password")
      for number, carrier in people_to_message.items():
      # call your sms or mms function
      send_sms_via_email(number, message, carrier, sender_creds)

    • @yoyogavri7253
      @yoyogavri7253 3 года назад +1

      @@AlfredoSequeida Thank you man! I used for i in range(length of numbers list) and cycled would cycle through each provider and number with i. But this looks way more efficient snd clean. Thank you!

  • @BAshivakiran
    @BAshivakiran 2 года назад +1

    brother , Will this program send email or SMS ?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Both, it uses sms gateways to send sms messages via email.

  • @thomasj8496
    @thomasj8496 3 года назад +1

    Which provider do you use if you're in India?

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      I don't know, I had trouble finding sms gateways for counties other than the US.

  • @orpheustelos5561
    @orpheustelos5561 2 года назад +1

    Is there Sms email gateway in philippines

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Unfortunately, I don't know. You can try searching online or ask a Philippino provider for information.

  • @abellopez1117
    @abellopez1117 3 года назад +3

    GOAT

  • @alourou4081
    @alourou4081 2 года назад +1

    Thank you so much ,

  • @jfGAGO
    @jfGAGO 2 года назад +1

    hi sir. how can i integrate this to a python gui program? thank you sir. 😀

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      That's a broad question, but in general - just like you would integrate any other code.

    • @jfGAGO
      @jfGAGO 2 года назад +1

      @@AlfredoSequeida is your program is dependent on the net?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад +1

      @@jfGAGO if by "net" you mean internet access, then yes. Since the program uses email to send sms messages, internet access is required.

  • @joshhudlet6181
    @joshhudlet6181 2 года назад +1

    Hi, amazing video. So the provider list matches the receiver number correct?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      Thank you! Yes, the carrier/provider should be that of the number you are sending the message to (receiver).

  • @aritramondal1396
    @aritramondal1396 3 года назад +1

    Can I hide the email and mask it as a number?

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      Well I don't know if you can mask an email address, but if you want to send anonymous messages, you could just use a throwaway email address just for sending texts.

    • @aritramondal1396
      @aritramondal1396 3 года назад

      If possible then give reply sir, making this for college project

    • @aritramondal1396
      @aritramondal1396 3 года назад

      @@AlfredoSequeida no just wanted to make it look better

  • @chadbeaulei2694
    @chadbeaulei2694 3 года назад +1

    would verizon charge me for these text messages?

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      If you're talking about sending the messages - no, this method is free since all you're doing is sending an email. But depending on the receiver's phone plan, they might be charged (like any other phone plan).

    • @chadbeaulei2694
      @chadbeaulei2694 3 года назад +1

      @@AlfredoSequeida sweet thanks!

  • @Trikoo
    @Trikoo 2 года назад +1

    bro WHAT YOU THINKS ABOUT INDIA??

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад

      I don't understand the question. Are you asking what I think about India's culture?

  • @Lanista24
    @Lanista24 Год назад

    Help get this tool boss I don't know how to code please can help? Does this send bulk sms ?

  • @boostmind-1606
    @boostmind-1606 3 года назад +1

    please, how can i find my sms email

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад +1

      If you're taking about the sms gateway domain, the github repo has a list of US sms providers in providers.py. if you're not in the US, then you might find them by doing a Google search for sms gateways for your provider.

    • @boostmind-1606
      @boostmind-1606 3 года назад +1

      @@AlfredoSequeida i did a search but found nothing for my provider free mobile

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад +1

      @@boostmind-1606 it's possible that there is none. If your provider is a subsidiary of another provider, you can also try to use the gateway for the main provider. Unfortunately this method only works if you can find the sms gateway.

    • @boostmind-1606
      @boostmind-1606 3 года назад

      @@AlfredoSequeida ok i understand , thanks

  • @wasbashing
    @wasbashing 2 года назад +1

    Where did you find gateway urls for providers?

    • @AlfredoSequeida
      @AlfredoSequeida  2 года назад +1

      I just found them by searching online. Here is a useful website that I found recently email2sms.info/ . It has a list of gateways for different countries.

  • @pocheslol2280
    @pocheslol2280 Год назад

    link website is blank

  • @as_d123
    @as_d123 2 года назад +1

    Please give config.neon file

  • @berniegorge6833
    @berniegorge6833 3 года назад +1

    You're boosting programming broo l needs help you to fast on the video haha or am to slow

  • @Bodybuilder900ml
    @Bodybuilder900ml 2 года назад +1

    KAREN!!!

  • @berniegorge6833
    @berniegorge6833 3 года назад +1

    Help me out

  • @surafel.t949
    @surafel.t949 Месяц назад

    does this work in africa?

  • @SHREK2
    @SHREK2 11 месяцев назад

    Bro you're sick

  • @subhammaheswari2956
    @subhammaheswari2956 3 года назад +2

    lol

  • @scifregizmoguy
    @scifregizmoguy 3 года назад +1

    Dude, please stop saying "actual" every 5 seconds
    Good tutorial though

    • @AlfredoSequeida
      @AlfredoSequeida  3 года назад

      lol, I guess it's a habit, thank you, I'm glad you liked it.

  • @JupitalproStore
    @JupitalproStore Год назад +1

    Please can we connect on whatsapp, or facebook

  • @testtest-rk5je
    @testtest-rk5je 2 года назад +1

    You are THE MAN. Very nice delivery of information