Create email and text message SMS alerts with Python!
Vložit
- čas přidán 29. 08. 2024
- / discord
Quick and easy way to send text message SMS alerts in python. I use this alert system in a ton of my programs to make sure they are still running. Also to monitor servers and let me know if one goes down.
Check out our new discord server for free advice and help with your projects. We have people from all over the world so someone should be around to help!
This was really straightforward and simple. Pls keep posting! We need more youtubers like you
Thanks David! I appreciate the view.
Thanks for posting! I want to use this to send myself motivational texts throughout the day:) Next step, making the script that runs through the day!
That's actually a really cool use case. Thanks for watching I really appreciate it.
I was thinking the same type of thing... how would you make it choose a message at random?
@@joemckenzie4454 you could have a dictionary or array of messages saved as a variable. Then call an imported library that generates a random number. Then pass that number into the array!
lol
ive learned more in this tut then any other on the internet altogther, thanks bro
Thank you.
@@ClarityCoders anytime , keep up the good work! thanks again
This was amazing. I created a quick script to remind me (text and email) to give the pills to my dog. I created a table in my database with the dates and the number of pills he needs on a given day. Put that into a dataframe so the message is always dynamic! Thanks again...just subbed.
do you use visual studio or visual studio code
@@danial9705 VS Code
I wish I could you more likes, this is so straightforward
I wish you could too! Just kidding thanks for watching!
@@dj-la--wolf1288 Then something was off! Jump in our discord and share the error you are getting!
EXTREMELY HELPFUL, CLEAR AND EASY TO FOLLOW!! THANK YOU!!!!!!
thank you mate needed this for a project and you came in clutch!!!
Thank you this is easy to follow. more power to your channel keep on sharing and keep safe.
Thanks I really appreciate you watching!
It worked. I wrote it up in Notepad, ran it, fixed it, then it worked perfect.
thank you very much. Straight to the point. Rare nowadays
Means a lot thanks for watching.
Like how simple and straight forward ur code and videos are.
Keep up the good work.
Thanks! I appreciate it.
simple and straight forward
loved this type of Video
looking for more video
I will have more out soon no worries! Thanks for watching I really appreciate it.
You’ve won my subscription by such a easy and great content for me without any coding experience for me to be able to it God bless you
Really appreciate the view and comment! Hope you check out some other videos as well.
Hey Jake, you're a really good teacher. This is a wonderful code that is so useful and easy to learn and use. I immediately got it to work thanks to your clear and easy-to-follow instructions!
👍Thank you & Sub'd!
Excellent tutorial - in the future, you can avoid showing passwords in plain text by setting the variables to input() functions and then cutting off the terminal when running the code and entering your password.
Amazing... That's what I expected... Thanks brother!!
Glad you liked it!
Thank u man this is the first email sending video that worked for me
Thank you, it's working correctly!!
unfortonely, i couldn't sent text message for Mexican Mobile Companies :(
Bummer! Well I hope at least the email alerts will help you out.
Good stuff man. Gona try this later today I've been meaning to do this for the past couple of days
Great tutorial, man! Thank you, I'm going to use what I learnt in my next video, much appreciated!
Awesome! Glad it was helpful.
This really helps, I am trying to build a siren system for my project. Thank you!
Awesome good luck.
❤❤what an awesome explanation.. new subscriber
Thank you for your clear video..it helped🙏🙏 me a lot at the last minute
That friggin worked! Thumbs up for you sir!
Appreciate it! Thanks!
This works perfect. Thanks!
Awesome!
Thanks, watch other videos and they were not correct. Thanks for saving me hours of work!
Thank you so much I search for bunch of tutorials
pretty cool and straightforward👏
Than you sir! Code on.
Very Nice, crystal clear tutorial, keep it up!
Thanks! I appreciate it.
Thank you so much! I was wondering why my program stopped working and it was because google changed it to where we had to add the 2-Step verification App Password
Great video, I was wondering how I would go about trying to send an audio attachment through python?
just simple and amazing the video and the explanations
Hey thank you for making this video. For some reason the emails are not being sent in my case. This is the message I see every time I run my python job : "Process finished with exit code 0" which means it ran successfully I guess.. I did all the settings you showed in the video but no luck!
Thanks! Very helpful.
very useful tutorial...thanks for sharing this knowledge, this is a game changer!!
Thank you 😊
thanku brother sharing this knowledge
No problem thanks for watching.
Awesome video! Thank you. You wouldn't happen to be from Massachusetts?
Thanks! I am not do I sound like it?
Cant pip install.. error: no matching distribution found for smtplib
its found default within ur python libraries
Are There any charges associated with sms services if we are using this for a large database ??
your guide was amazing work from first try, but you now why after 24 i don't receive any emails and i don't have any errors in python
Great job, tanks a lot!
Good information
I am looking for a python gui, which has the function of sending automatic sms messages to many phone numbers at the same time when it is close to a specific time, to remind to do the job not to be forgotten.
Dude, you are amazing!!
I’ve been trying to fix an issue that I have on an app that I’ve been working on. Thanks to this video I was able to solve it. Thank you for you time. 👍🏽👊🏽🙏🏽
No thank you for watching we got more cool stuff coming out soon!
Beautiful. Thank you!
Glad you like it!
Thanks for the tutorial! The email works perfectly but I wouldn’t know about the email to sms because I’m on three mobile and they don’t allow it sadly. I’ll just stick with the email instead. Thanks! :D
Awesome job!
thank u so much❤❤❤❤❤
This really good bro. Where is the video to illustrate how I can import this function to my project
I can see... That this is a cool video so i subbed.
My man! Thanks for the sub.
Awesome video!!
How's it going buddy? Been awhile.
I want to send a text message that will read a certain string from a serial port under the right conditions.
I love you dude.
Loves.
thank it works
for the phone, it will not work because im not living in us
Thanks so much for this informative video. Unfortunately, I am not able to send SMS text. It 1 SMS then gave me "Exceptions - SMTPRecipientsRefused" error and would not send any other sms message. Have you encounter this error before?
Hi, and thank you for the tutorial! Although it works really well i face one problem: my email gets sent but the receiver doesn't get a notification about the email that i just sent him, although it doesn't end up in spam. Is there any way to fix this?
You can also consider Slack to send alerts.
Thank you
Thanks alot
I cannot import email.message. I have tried importing email and message too and they both seem to not be working...
Edit: Oh! Turns out my filename was 'email.py' which resulted in an error. I just had to Save As a new file and delete the old one.
Yeah this has caught a few people thanks for commenting and watching!
hi, I've received this error, any idea how to solve it?
from email.message import EmailMessage
ImportError: cannot import name EmailMessage
Thanks
Hello sir, this has been a big problem for me and I want to ask you some questions
1. You make mention of mobile carriers and it seem I can find my countries mobile carriers, am in Ghana
2. Can I link this to an excel sheet and if so, how is it done .
Thanks a lot ..this was a great video
VERY HELPFUL THX!!
Glad it helped!
Great video man! I was wondering if you can have the program send a text message based on a certain date in the future?
I’m sure you can! Import datetime and mess around with Booleans for the time/date you want to use
Thanks.
Great video thanks
Thanks for watching!
Thanks a lot. ❤️
How would you make a script to allow others to join the text or email alerts? Such as a stock alert to subscribed members. Thank you for your videos!!
You could work it into a Flask web app or really any other project depending on the situation.
Really cool video and appreciate your creating it so easily. This is exactly what I was looking for. It would be great if you can share how to send the text message to multiple users /customers to share important updates like sales and promotions. Hopefully you don't need to know all their carriers info to set them up. Also, would be great if you can show how to integrate into an iOS application
Thanks for watching and really great suggestions. I will look into them!
Thank you so much
Thanks for watching!
I'm from India, which Career should I use to send text message?
Sad news guys google just removes their third party access feature since May 30 , 2022
This is still working today and I still use it! support.google.com/accounts/answer/3466521?hl=en
How to send alerts to many people at the same time?
Hi, thank you for example send email, it's working but how to push notification to receiver ? I see sent email but receiver can't see notification about email
same here!!!
Is there any way a chance to get an alert from a closed page with login required? There's no notification from uni when grades are getting published and I therefore constantly check everyday. Can this be solved the same way with python?
I could be a bit late to reply but I would suggest using the selenium module. You can manage chrome tabs (and other browsers) headlessly (without actually rendering it) and you would just have to make a script that logs you in, scrapes the page for data needed (your grades as mentioned), and use the guide in the video to send that data.
Hoping someone can help me. When I send email-to-text, Gmail flags these emails as spam for some reason. Any Idea how to prevent this?
Great 👍
Thanks a lot ❤️
No problem hope you enjoyed watching.
I want to send text messages to a lot of customers, so my question is, would this work for many customers, sending them text messages alerts? Is this service provided for all countries
Do the new protocols block this as spam for sms? I can get emails, but the texts never come through
Unfortunately, it seems carriers such as AT&T, Verizon, T-Mobile are strictly limiting the # of texts using their gateways. Does anyone know of a way to "whitelist" a server to avoid email2texts being blocked?
Thank you!
You're welcome!
Good Job My Friend 🥰👍
Hey - I am trying to create a notification to let me know if the price of a certain product that I am tracking in amazon goes below a certain amount. Do you think I could do that?
I'm getting "ImportError: cannot import name 'EmailMassage' from 'email.message'" - I figured it was because there was some kind of name conflilction further in the code but I can't seem to find it. I have fully uninstalled/reinstalled python3 with no luck. Any help would be appreciated. StackOF doesn't have much that I've found for help.
Great video! Also, Joined the discord :)
great tutorial but i have a question.What terminal do you use on the video?
Git bash! git-scm.com
@@ClarityCoders thanks
Thank you so much..
But I've a doubt..
I've done the whole process for our project..
But still didn't get the alert msgs to both mobile and email..
Can u please help me with it..
Jump in our discord and someone can help you out!
precise and effective, thank you for your work, pls keep up the good work. a sub from me
My man! Thanks for the sub/comment/view.
Great tutorial. Is there a way to get what they respond with?
RuntimeError: No SSL support included in this Python
Thank you it works fine
Awesome!!!
When I run the script I see this error
==> AttributeError: 'NoneType' object has no attribute 'decode'
Join the discord we can help you out.
This is very helpful and easy to understand 😄 ..sir , i wanna create a bot by which we can scrap members from another telegram channel ..can you please help
Ohhhhhh sounds interesting I'll check into it.
hey, great tutorial, it worked. I can send an email from pyhton. However, when i run thru crontab, it wont send? Do you know a fix?? (Yes, python code does run in crontab, it just doesnt send email)
all good, got it working..... was reading a csv file which didnt have the full path....
Good to hear thanks for watching.
Code runs correctly but no one message can come
you are awesome
Hello bro, can I use the same code and copy it in thonny under a file name detect.py and will I get message if someone is detected using the mobile phone?
Does anyone knows, why my GMS soft soft is diffrent ?