No video

Create email and text message SMS alerts with Python!

  Рет қаралды 150,735

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!

Пікірлер: 286
@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
@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
@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!
@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!
@JoseJupiter21
@JoseJupiter21 3 жыл бұрын
EXTREMELY HELPFUL, CLEAR AND EASY TO FOLLOW!! THANK YOU!!!!!!
@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
@ryanfernando8330
@ryanfernando8330 2 жыл бұрын
thank you mate needed this for a project and you came in clutch!!!
@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.
@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!
@BritainW3llz
@BritainW3llz Ай бұрын
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.
@cerdafiedDeveloper
@cerdafiedDeveloper 3 жыл бұрын
thank you very much. Straight to the point. Rare nowadays
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Means a lot thanks for watching.
@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.
@riches8568
@riches8568 4 жыл бұрын
Cant pip install.. error: no matching distribution found for smtplib
@abhinav2584
@abhinav2584 3 жыл бұрын
its found default within ur python libraries
@Mtnktown
@Mtnktown Жыл бұрын
Good stuff man. Gona try this later today I've been meaning to do this for the past couple of days
@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.
@tiwariji9985
@tiwariji9985 2 ай бұрын
❤❤what an awesome explanation.. new subscriber
@karimmohamed12
@karimmohamed12 2 жыл бұрын
Thank u man this is the first email sending video that worked for me
@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.
@xerogaming2127
@xerogaming2127 2 жыл бұрын
Are There any charges associated with sms services if we are using this for a large database ??
@malikabdul2217
@malikabdul2217 2 жыл бұрын
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.
@therschannel1180
@therschannel1180 4 жыл бұрын
Great video, I was wondering how I would go about trying to send an audio attachment through python?
@tanliying3444
@tanliying3444 3 жыл бұрын
hi, I've received this error, any idea how to solve it? from email.message import EmailMessage ImportError: cannot import name EmailMessage
@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.
@abarnakalai1371
@abarnakalai1371 2 жыл бұрын
Thank you for your clear video..it helped🙏🙏 me a lot at the last minute
@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!
@rafaeldiaz6308
@rafaeldiaz6308 2 жыл бұрын
Thanks, watch other videos and they were not correct. Thanks for saving me hours of work!
@firealarmapprentice4517
@firealarmapprentice4517 2 жыл бұрын
I want to send a text message that will read a certain string from a serial port under the right conditions.
@_jirkaa_5170
@_jirkaa_5170 2 жыл бұрын
Thank you so much I search for bunch of tutorials
@user-fu4dr1jc3n
@user-fu4dr1jc3n 4 ай бұрын
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?
@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!
@yorstrulyyy
@yorstrulyyy 7 күн бұрын
How to send alerts to many people at the same time?
@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
@chechecole5905
@chechecole5905 4 жыл бұрын
That friggin worked! Thumbs up for you sir!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Appreciate it! Thanks!
@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?
@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?
@linxx1184
@linxx1184 2 жыл бұрын
very useful tutorial...thanks for sharing this knowledge, this is a game changer!!
@cryptoalert6331
@cryptoalert6331 3 жыл бұрын
Very Nice, crystal clear tutorial, keep it up!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks! I appreciate it.
@dipeshsamrawat7957
@dipeshsamrawat7957 Жыл бұрын
I'm from India, which Career should I use to send text message?
@maheshmichael6955
@maheshmichael6955 2 жыл бұрын
just simple and amazing the video and the explanations
@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?
@XiaoHC
@XiaoHC Жыл бұрын
Does anyone knows, why my GMS soft soft is diffrent ?
@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?
@Th3CreeperStrike
@Th3CreeperStrike 4 жыл бұрын
This works perfect. Thanks!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Awesome!
@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?
@dennisoutlet2092
@dennisoutlet2092 Жыл бұрын
This really good bro. Where is the video to illustrate how I can import this function to my project
@blazesmith5046
@blazesmith5046 2 жыл бұрын
Do the new protocols block this as spam for sms? I can get emails, but the texts never come through
@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.
@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
@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
@Knowledge60seconds
@Knowledge60seconds 2 жыл бұрын
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
@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!!!
@codemenath
@codemenath Жыл бұрын
pretty cool and straightforward👏
@ClarityCoders
@ClarityCoders Жыл бұрын
Than you sir! Code on.
@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.
@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
@gagankarnati643
@gagankarnati643 Жыл бұрын
How to send to multiple emails?
@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!
@bavisettymounika6380
@bavisettymounika6380 Жыл бұрын
hey how can i send sms to jio in india...
@Ethan-101-
@Ethan-101- 2 жыл бұрын
Thank you 😊
@HUB-E-BRO
@HUB-E-BRO 8 ай бұрын
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?
@yusufmalikul
@yusufmalikul 2 жыл бұрын
You can also consider Slack to send alerts.
@techbehindus5197
@techbehindus5197 2 жыл бұрын
Code runs correctly but no one message can come
@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.
@manny7662
@manny7662 11 ай бұрын
what if I want to send messages to multiple users?
@dhruvilshah1610
@dhruvilshah1610 2 жыл бұрын
Hi, i am not getting any email nor sms, what can be the issue?
@mageshwari.r2979
@mageshwari.r2979 2 жыл бұрын
hi sir i have one doubt sir, why you are use digital trends website..pls expline sie
@lguilland
@lguilland 2 жыл бұрын
Thanks! Very helpful.
@moeghamdi6553
@moeghamdi6553 3 жыл бұрын
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
@MwendwaMathias
@MwendwaMathias 3 жыл бұрын
@clarity coders, can I get a similar code like this to make clinical email and sms reminders in Kenya please
@jaden7674
@jaden7674 2 жыл бұрын
Great tutorial. Is there a way to get what they respond with?
@karimdz94
@karimdz94 2 жыл бұрын
I didn't get what are these libraries and how to install them
@googlegoogle9712
@googlegoogle9712 2 жыл бұрын
pip install
@artilleryisbetter
@artilleryisbetter 2 жыл бұрын
hey, i ran into a issue if you don't mind helping me figure out: "socket.gaierror: [Errno -2] Name or service not known" Running Ubuntu 20.04.4, using visual studio code
@anelisabolosha9934
@anelisabolosha9934 Жыл бұрын
Hi, how would you get that port number: 587 you wrote there
@danielcerdeira1612
@danielcerdeira1612 2 жыл бұрын
Is possible an alert of calling my phone from Python?
@andythomson2227
@andythomson2227 3 жыл бұрын
thanku brother sharing this knowledge
@ClarityCoders
@ClarityCoders 3 жыл бұрын
No problem thanks for watching.
@InfographieMania
@InfographieMania 3 жыл бұрын
When I run the script I see this error ==> AttributeError: 'NoneType' object has no attribute 'decode'
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Join the discord we can help you out.
@whateverlulz9215
@whateverlulz9215 3 жыл бұрын
what am i doing wrong? why isnt it working for me. I've never done python before, just following the video. what must I do prior to this, to set up?
@dennisvanrijnlis6595
@dennisvanrijnlis6595 3 жыл бұрын
install python
@colinkelly2431
@colinkelly2431 3 жыл бұрын
I am not getting an error but it is never sending I have checked every line and its word for word correct but it still is not working
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Make sure your tabs match mine as well. Calling the function can't be tabbed inside of the function! Feel free to join discord and post the code and we can help.
@rammaddirala6857
@rammaddirala6857 3 жыл бұрын
I can see... That this is a cool video so i subbed.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
My man! Thanks for the sub.
@stuclott4056
@stuclott4056 4 жыл бұрын
Awesome video!!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
How's it going buddy? Been awhile.
@foodpanda139
@foodpanda139 2 жыл бұрын
how to loop? please reply the code
@kumargujjula8616
@kumargujjula8616 3 жыл бұрын
I did all the mentioned in the video, when I run the program got smtp authentication error, username and password not accepted, any solution for this error
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Sounds like you got a bad username or password! Double check everything.
@digitalmachine0101
@digitalmachine0101 3 ай бұрын
Good information
@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.
@stefanopanzarasa9821
@stefanopanzarasa9821 2 жыл бұрын
Great job, tanks a lot!
@wv1
@wv1 3 жыл бұрын
Does it let you text other people using the email?
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Sure but you need to know there number and carrier which you can lookup online if you have the number. To do it without looking up their info you need to pay for a number.
@deepavk_queen
@deepavk_queen 8 ай бұрын
Can we have a voice call text to speech
@Lally219
@Lally219 2 жыл бұрын
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..
@ClarityCoders
@ClarityCoders 2 жыл бұрын
Jump in our discord and someone can help you out!
@joadm5724
@joadm5724 2 жыл бұрын
can i do this with whatsapp?
@dropz285
@dropz285 4 жыл бұрын
How can I make it send me an alert for a product on facebook marketplace?
@ninjatek2241
@ninjatek2241 3 жыл бұрын
I'm having a problem with the message having a new line at the end of the message. Any idea why it's there? If it helps, I am sending it to as a text to a verizon phone.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Not sure but if you join discord and send some info to help channel we will try to assist.
@jacobolson1331
@jacobolson1331 2 жыл бұрын
Awesome job!
@deejae_music
@deejae_music 5 ай бұрын
can you like link the website here?
@lamiz3786
@lamiz3786 2 жыл бұрын
i get a "authentification required" error
@TopSecretBase
@TopSecretBase 3 жыл бұрын
Beautiful. Thank you!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Glad you like it!
@PhillippLahm
@PhillippLahm 3 жыл бұрын
Plz help me l am not getting error, it says process finished with exit code 0. But l can't see any message being sent. Help me
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Jump in our discord if you're still having issues! discord.gg/mYpJHuFByU
@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
@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 :)
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 43 МЛН
The Joker saves Harley Quinn from drowning!#joker  #shorts
00:34
Untitled Joker
Рет қаралды 54 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 53 МЛН
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 181 М.
How to Send Emails with Python [New Method 2023]
11:16
The PyCoach
Рет қаралды 185 М.
Sending SMS Text Messages from PI using Node
6:44
Ahad Cove
Рет қаралды 21 М.
How to Get a Verified Email Badge (Extremely Rare)
26:24
ThioJoe
Рет қаралды 559 М.
How to Send and Receive WhatsApp Messages with Python
6:08
TwilioDevs
Рет қаралды 14 М.
programming projects that taught me how to code
9:49
isak
Рет қаралды 283 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 43 МЛН