Create email and text message SMS alerts with Python!

  Рет қаралды 147,745

ClarityCoders

ClarityCoders

4 жыл бұрын

/ 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!

Пікірлер: 284
@JoseJupiter21
@JoseJupiter21 2 жыл бұрын
EXTREMELY HELPFUL, CLEAR AND EASY TO FOLLOW!! THANK YOU!!!!!!
@David-qd4it
@David-qd4it 3 жыл бұрын
This was really straightforward and simple. Pls keep posting! We need more youtubers like you
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks David! I appreciate the view.
@mitchelldyer5415
@mitchelldyer5415 3 жыл бұрын
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!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
That's actually a really cool use case. Thanks for watching I really appreciate it.
@joemckenzie4454
@joemckenzie4454 3 жыл бұрын
I was thinking the same type of thing... how would you make it choose a message at random?
@mitchelldyer5415
@mitchelldyer5415 3 жыл бұрын
@@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!
@siva_subramaniam
@siva_subramaniam 2 жыл бұрын
lol
@ryanfernando8330
@ryanfernando8330 2 жыл бұрын
thank you mate needed this for a project and you came in clutch!!!
@HitraNtheProgrammer
@HitraNtheProgrammer 3 жыл бұрын
Great tutorial, man! Thank you, I'm going to use what I learnt in my next video, much appreciated!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Awesome! Glad it was helpful.
@karimmohamed12
@karimmohamed12 2 жыл бұрын
Thank u man this is the first email sending video that worked for me
@rayoh2011
@rayoh2011 Жыл бұрын
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!
@FastingDude
@FastingDude 2 жыл бұрын
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.
@danial9705
@danial9705 2 жыл бұрын
do you use visual studio or visual studio code
@FastingDude
@FastingDude 2 жыл бұрын
@@danial9705 VS Code
@ambanna
@ambanna 4 жыл бұрын
Like how simple and straight forward ur code and videos are. Keep up the good work.
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Thanks! I appreciate it.
@dosinadasung7981
@dosinadasung7981 4 жыл бұрын
simple and straight forward loved this type of Video looking for more video
@ClarityCoders
@ClarityCoders 4 жыл бұрын
I will have more out soon no worries! Thanks for watching I really appreciate it.
@thomasgu9829
@thomasgu9829 3 жыл бұрын
This really helps, I am trying to build a siren system for my project. Thank you!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Awesome good luck.
@justinpaoloplaton7562
@justinpaoloplaton7562 4 жыл бұрын
Thank you this is easy to follow. more power to your channel keep on sharing and keep safe.
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Thanks I really appreciate you watching!
@newguy1308
@newguy1308 3 жыл бұрын
ive learned more in this tut then any other on the internet altogther, thanks bro
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thank you.
@newguy1308
@newguy1308 3 жыл бұрын
@@ClarityCoders anytime , keep up the good work! thanks again
@MtKtown
@MtKtown Жыл бұрын
Good stuff man. Gona try this later today I've been meaning to do this for the past couple of days
@cerdafiedDeveloper
@cerdafiedDeveloper 3 жыл бұрын
thank you very much. Straight to the point. Rare nowadays
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Means a lot thanks for watching.
@malikabdul2217
@malikabdul2217 Жыл бұрын
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
@ClarityCoders
@ClarityCoders Жыл бұрын
Really appreciate the view and comment! Hope you check out some other videos as well.
@vinothv1720
@vinothv1720 3 жыл бұрын
Amazing... That's what I expected... Thanks brother!!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Glad you liked it!
@firealarmapprentice4517
@firealarmapprentice4517 2 жыл бұрын
It worked. I wrote it up in Notepad, ran it, fixed it, then it worked perfect.
@maheshmichael6955
@maheshmichael6955 2 жыл бұрын
just simple and amazing the video and the explanations
@chechecole5905
@chechecole5905 3 жыл бұрын
That friggin worked! Thumbs up for you sir!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Appreciate it! Thanks!
@abarnakalai1371
@abarnakalai1371 2 жыл бұрын
Thank you for your clear video..it helped🙏🙏 me a lot at the last minute
@cryptoalert6331
@cryptoalert6331 3 жыл бұрын
Very Nice, crystal clear tutorial, keep it up!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks! I appreciate it.
@ishtarur
@ishtarur 3 жыл бұрын
I wish I could you more likes, this is so straightforward
@ClarityCoders
@ClarityCoders 3 жыл бұрын
I wish you could too! Just kidding thanks for watching!
@ClarityCoders
@ClarityCoders 2 жыл бұрын
@@dj-la--wolf1288 Then something was off! Jump in our discord and share the error you are getting!
@linxx1184
@linxx1184 2 жыл бұрын
very useful tutorial...thanks for sharing this knowledge, this is a game changer!!
@_jirkaa_5170
@_jirkaa_5170 Жыл бұрын
Thank you so much I search for bunch of tutorials
@tiwariji9985
@tiwariji9985 8 күн бұрын
❤❤what an awesome explanation.. new subscriber
@Th3CreeperStrike
@Th3CreeperStrike 3 жыл бұрын
This works perfect. Thanks!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Awesome!
@TopSecretBase
@TopSecretBase 3 жыл бұрын
Beautiful. Thank you!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Glad you like it!
@lguilland
@lguilland Жыл бұрын
Thanks! Very helpful.
@rafaeldiaz6308
@rafaeldiaz6308 2 жыл бұрын
Thanks, watch other videos and they were not correct. Thanks for saving me hours of work!
@stefanopanzarasa9821
@stefanopanzarasa9821 2 жыл бұрын
Great job, tanks a lot!
@codemenath
@codemenath Жыл бұрын
pretty cool and straightforward👏
@ClarityCoders
@ClarityCoders Жыл бұрын
Than you sir! Code on.
@therschannel1180
@therschannel1180 3 жыл бұрын
Great video, I was wondering how I would go about trying to send an audio attachment through python?
@jacobolson1331
@jacobolson1331 2 жыл бұрын
Awesome job!
@Ethan-101-
@Ethan-101- 2 жыл бұрын
Thank you 😊
@georgethornburg4882
@georgethornburg4882 2 жыл бұрын
Awesome video! Thank you. You wouldn't happen to be from Massachusetts?
@ClarityCoders
@ClarityCoders 2 жыл бұрын
Thanks! I am not do I sound like it?
@palaorocio4358
@palaorocio4358 3 жыл бұрын
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. 👍🏽👊🏽🙏🏽
@ClarityCoders
@ClarityCoders 3 жыл бұрын
No thank you for watching we got more cool stuff coming out soon!
@jorgesandoval5450
@jorgesandoval5450 4 жыл бұрын
Thank you, it's working correctly!! unfortonely, i couldn't sent text message for Mexican Mobile Companies :(
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Bummer! Well I hope at least the email alerts will help you out.
@andythomson2227
@andythomson2227 3 жыл бұрын
thanku brother sharing this knowledge
@ClarityCoders
@ClarityCoders 3 жыл бұрын
No problem thanks for watching.
@hoacpu
@hoacpu 2 жыл бұрын
Thanks alot
@digitalmachine0101
@digitalmachine0101 Ай бұрын
Good information
@moeghamdi6553
@moeghamdi6553 2 жыл бұрын
Great video man! I was wondering if you can have the program send a text message based on a certain date in the future?
@callumbrowne2081
@callumbrowne2081 2 жыл бұрын
I’m sure you can! Import datetime and mess around with Booleans for the time/date you want to use
@stuclott4056
@stuclott4056 4 жыл бұрын
Awesome video!!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
How's it going buddy? Been awhile.
@dipeshsamrawat7957
@dipeshsamrawat7957 2 жыл бұрын
Thanks a lot. ❤️
@fabienburguera386
@fabienburguera386 2 жыл бұрын
Thank you
@Old_SDC
@Old_SDC 2 жыл бұрын
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
@learncoding_8117
@learncoding_8117 3 жыл бұрын
Thank you so much
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks for watching!
@unknownname9832
@unknownname9832 3 жыл бұрын
Thank you!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
You're welcome!
@FRANKWHITE1996
@FRANKWHITE1996 3 жыл бұрын
Great video thanks
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks for watching!
@zemingzhang1423
@zemingzhang1423 3 жыл бұрын
VERY HELPFUL THX!!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Glad it helped!
@rammaddirala6857
@rammaddirala6857 3 жыл бұрын
I can see... That this is a cool video so i subbed.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
My man! Thanks for the sub.
@ibrahimjatau809
@ibrahimjatau809 3 жыл бұрын
precise and effective, thank you for your work, pls keep up the good work. a sub from me
@ClarityCoders
@ClarityCoders 2 жыл бұрын
My man! Thanks for the sub/comment/view.
@Pankaj-Verma-
@Pankaj-Verma- 3 ай бұрын
Thanks.
@dennisoutlet2092
@dennisoutlet2092 Жыл бұрын
This really good bro. Where is the video to illustrate how I can import this function to my project
@user-il1hu5xp2x
@user-il1hu5xp2x 2 жыл бұрын
thank it works
@user-il1hu5xp2x
@user-il1hu5xp2x 2 жыл бұрын
for the phone, it will not work because im not living in us
@b391i
@b391i 2 жыл бұрын
Good Job My Friend 🥰👍
@schafercunningham
@schafercunningham 2 жыл бұрын
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
@vishalkamble1722
@vishalkamble1722 3 жыл бұрын
Great 👍 Thanks a lot ❤️
@ClarityCoders
@ClarityCoders 3 жыл бұрын
No problem hope you enjoyed watching.
@BritainW3llz
@BritainW3llz 2 күн бұрын
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.
@code-grammardude5974
@code-grammardude5974 2 жыл бұрын
you are awesome
@esj110
@esj110 3 жыл бұрын
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
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks for watching and really great suggestions. I will look into them!
@Rubbernecker
@Rubbernecker 2 жыл бұрын
Awesome!!!
@rohanramesh100
@rohanramesh100 2 жыл бұрын
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!
@appleninja360
@appleninja360 2 жыл бұрын
I love you dude.
@ClarityCoders
@ClarityCoders 2 жыл бұрын
Loves.
@davidhuang577
@davidhuang577 3 жыл бұрын
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?
@kostaszafolias
@kostaszafolias 3 жыл бұрын
great tutorial but i have a question.What terminal do you use on the video?
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Git bash! git-scm.com
@kostaszafolias
@kostaszafolias 3 жыл бұрын
@@ClarityCoders thanks
@jaden7674
@jaden7674 2 жыл бұрын
Great tutorial. Is there a way to get what they respond with?
@yusufmalikul
@yusufmalikul 2 жыл бұрын
You can also consider Slack to send alerts.
@hector5749
@hector5749 4 жыл бұрын
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!!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
You could work it into a Flask web app or really any other project depending on the situation.
@xerogaming2127
@xerogaming2127 Жыл бұрын
Are There any charges associated with sms services if we are using this for a large database ??
@MwendwaMathias
@MwendwaMathias 3 жыл бұрын
@clarity coders, can I get a similar code like this to make clinical email and sms reminders in Kenya please
@adarshp6930
@adarshp6930 Жыл бұрын
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?
@user-fu4dr1jc3n
@user-fu4dr1jc3n 2 ай бұрын
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?
@leoandoh5829
@leoandoh5829 3 жыл бұрын
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
@tanliying3444
@tanliying3444 2 жыл бұрын
hi, I've received this error, any idea how to solve it? from email.message import EmailMessage ImportError: cannot import name EmailMessage
@hananemeftahi202
@hananemeftahi202 2 жыл бұрын
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
@keremy150
@keremy150 3 жыл бұрын
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?
@bradstrange1374
@bradstrange1374 3 жыл бұрын
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.
@riches8568
@riches8568 3 жыл бұрын
Cant pip install.. error: no matching distribution found for smtplib
@abhinav2584
@abhinav2584 3 жыл бұрын
its found default within ur python libraries
@bmt123inh2
@bmt123inh2 2 жыл бұрын
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
@comagram
@comagram 2 жыл бұрын
same here!!!
@blazesmith5046
@blazesmith5046 Жыл бұрын
Do the new protocols block this as spam for sms? I can get emails, but the texts never come through
@firealarmapprentice4517
@firealarmapprentice4517 2 жыл бұрын
I want to send a text message that will read a certain string from a serial port under the right conditions.
@dougnintzel4655
@dougnintzel4655 Жыл бұрын
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?
@tanganhminh9138
@tanganhminh9138 Жыл бұрын
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.
@Maria-m.D
@Maria-m.D 2 жыл бұрын
how do I send an image using this, btw good video
@danutdobre6490
@danutdobre6490 Жыл бұрын
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
@anelisabolosha9934
@anelisabolosha9934 Жыл бұрын
Hi, how would you get that port number: 587 you wrote there
@TheAlarm-cat
@TheAlarm-cat 2 жыл бұрын
Thank you it works fine
@Moist_yet_Crispy
@Moist_yet_Crispy 2 жыл бұрын
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 :)
@dhruvilshah1610
@dhruvilshah1610 2 жыл бұрын
Hi, i am not getting any email nor sms, what can be the issue?
@danielcerdeira1612
@danielcerdeira1612 2 жыл бұрын
Is possible an alert of calling my phone from Python?
@rayenguesmi3030
@rayenguesmi3030 3 жыл бұрын
thnx
@ClarityCoders
@ClarityCoders 3 жыл бұрын
You're welcome!
@dipeshsamrawat7957
@dipeshsamrawat7957 Жыл бұрын
I'm from India, which Career should I use to send text message?
@acb_gamez
@acb_gamez Жыл бұрын
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?
@ccfashing4412
@ccfashing4412 3 жыл бұрын
Could you explain what the msg['from'] does? It seems like no matter what I put for this, the message is not affected in any way.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
I dont think it will change anything on an sms message. on an email it should change the from but Gmail may overwrite that with the actual email address.
@manny7662
@manny7662 9 ай бұрын
what if I want to send messages to multiple users?
@dropz285
@dropz285 3 жыл бұрын
How can I make it send me an alert for a product on facebook marketplace?
@SurrealBackrooms
@SurrealBackrooms 3 жыл бұрын
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.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Yeah this has caught a few people thanks for commenting and watching!
@mageshwari.r2979
@mageshwari.r2979 2 жыл бұрын
hi sir i have one doubt sir, why you are use digital trends website..pls expline sie
@melanieminalang7648
@melanieminalang7648 3 жыл бұрын
sir may I ask is there is a chance to sent SMS alert in many receivers ?
@dennisvanrijnlis6595
@dennisvanrijnlis6595 2 жыл бұрын
Did you find out?
@HUB-E-BRO
@HUB-E-BRO 6 ай бұрын
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?
a==1 && a==2 && a==3 can be TRUE. (JavaScript / Meme)
0:54
ClarityCoders
Рет қаралды 2,9 М.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 43 МЛН
Can teeth really be exchanged for gifts#joker #shorts
00:45
Untitled Joker
Рет қаралды 14 МЛН
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,4 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 37 МЛН
Sending EMAILS with PYTHON: 5 minute tutorial
4:38
Just Another Coder
Рет қаралды 16 М.
How To Send SMS Messages Using Python
4:40
Code With Tomi
Рет қаралды 55 М.
Sending SMS Text Messages from PI using Node
6:44
Ahad Cove
Рет қаралды 21 М.
I Created Game in MS Paint!
2:21
Practical Coding
Рет қаралды 740
POE + OpenCV + Python
2:31
siZeOf2011
Рет қаралды 1,4 М.
Game Automation with YOLOv8: Python Bot Tutorial
21:40
ClarityCoders
Рет қаралды 19 М.
Create a free live web app using Python, Flask and Heroku.
26:18
ClarityCoders
Рет қаралды 1,8 М.
How to Send Emails with Python [New Method 2023]
11:16
The PyCoach
Рет қаралды 177 М.
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 861 М.
Нашел еще 70+ нововведений в iOS 18!
11:04
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 565 М.