Create email and text message SMS alerts with Python!

  Рет қаралды 156,475

ClarityCoders

ClarityCoders

Күн бұрын

Пікірлер
@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 3 жыл бұрын
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
@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
@JoseJupiter21
@JoseJupiter21 3 жыл бұрын
EXTREMELY HELPFUL, CLEAR AND EASY TO FOLLOW!! THANK YOU!!!!!!
@firealarmapprentice4517
@firealarmapprentice4517 2 жыл бұрын
It worked. I wrote it up in Notepad, ran it, fixed it, then it worked perfect.
@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 3 жыл бұрын
@@dj-la--wolf1288 Then something was off! Jump in our discord and share the error you are getting!
@ryanfernando8330
@ryanfernando8330 3 жыл бұрын
thank you mate needed this for a project and you came in clutch!!!
@Mtnktown
@Mtnktown Жыл бұрын
Good stuff man. Gona try this later today I've been meaning to do this for the past couple of days
@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.
@amirmahditizchang5689
@amirmahditizchang5689 3 ай бұрын
Really helpful and understandable. Great job buddy!
@karimmohamed12
@karimmohamed12 2 жыл бұрын
Thank u man this is the first email sending video that worked for me
@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 2 жыл бұрын
Really appreciate the view and comment! Hope you check out some other videos as well.
@xerogaming2127
@xerogaming2127 2 жыл бұрын
Are There any charges associated with sms services if we are using this for a large database ??
@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!
@cerdafiedDeveloper
@cerdafiedDeveloper 3 жыл бұрын
thank you very much. Straight to the point. Rare nowadays
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Means a lot thanks for watching.
@rayoh2011
@rayoh2011 2 жыл бұрын
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!
@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.
@rafaeldiaz6308
@rafaeldiaz6308 2 жыл бұрын
Thanks, watch other videos and they were not correct. Thanks for saving me hours of work!
@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.
@jorgesandoval5450
@jorgesandoval5450 4 жыл бұрын
Thank you, it's working correctly!! unfortonely, i couldn't sent text message for Mexican Mobile Companies :(
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Bummer! Well I hope at least the email alerts will help you out.
@BritainW3llz
@BritainW3llz 6 ай бұрын
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.
@riches8568
@riches8568 4 жыл бұрын
Cant pip install.. error: no matching distribution found for smtplib
@abhinav2584
@abhinav2584 3 жыл бұрын
its found default within ur python libraries
@abarnakalai1371
@abarnakalai1371 2 жыл бұрын
Thank you for your clear video..it helped🙏🙏 me a lot at the last minute
@firealarmapprentice4517
@firealarmapprentice4517 2 жыл бұрын
I want to send a text message that will read a certain string from a serial port under the right conditions.
@vinothv1720
@vinothv1720 4 жыл бұрын
Amazing... That's what I expected... Thanks brother!!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Glad you liked it!
@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
@tanganhminh9138
@tanganhminh9138 2 жыл бұрын
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.
@_jirkaa_5170
@_jirkaa_5170 2 жыл бұрын
Thank you so much I search for bunch of tutorials
@therschannel1180
@therschannel1180 4 жыл бұрын
Great video, I was wondering how I would go about trying to send an audio attachment through python?
@blazesmith5046
@blazesmith5046 2 жыл бұрын
Do the new protocols block this as spam for sms? I can get emails, but the texts never come through
@HitraNtheProgrammer
@HitraNtheProgrammer 4 жыл бұрын
Great tutorial, man! Thank you, I'm going to use what I learnt in my next video, much appreciated!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Awesome! Glad it was helpful.
@chechecole5905
@chechecole5905 4 жыл бұрын
That friggin worked! Thumbs up for you sir!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Appreciate it! Thanks!
@tiwariji9985
@tiwariji9985 6 ай бұрын
❤❤what an awesome explanation.. new subscriber
@Jk2379-n5r
@Jk2379-n5r 8 ай бұрын
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?
@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
@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?
@anelisabolosha9934
@anelisabolosha9934 2 жыл бұрын
Hi, how would you get that port number: 587 you wrote there
@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
@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?
@codemenath
@codemenath Жыл бұрын
pretty cool and straightforward👏
@ClarityCoders
@ClarityCoders Жыл бұрын
Than you sir! Code on.
@AzumahErnest-24
@AzumahErnest-24 11 күн бұрын
I can't find the app password option eve after enabling two step verification, please help me
@yusufmalikul
@yusufmalikul 2 жыл бұрын
You can also consider Slack to send alerts.
@danielcerdeira1612
@danielcerdeira1612 2 жыл бұрын
Is possible an alert of calling my phone from Python?
@bmt123inh2
@bmt123inh2 3 жыл бұрын
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 3 жыл бұрын
same here!!!
@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!
@acb_gamez
@acb_gamez 2 жыл бұрын
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?
@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?
@cryptoalert6331
@cryptoalert6331 3 жыл бұрын
Very Nice, crystal clear tutorial, keep it up!
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Thanks! I appreciate it.
@dennisoutlet2092
@dennisoutlet2092 Жыл бұрын
This really good bro. Where is the video to illustrate how I can import this function to my project
@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
@mageshwari.r2979
@mageshwari.r2979 2 жыл бұрын
hi sir i have one doubt sir, why you are use digital trends website..pls expline sie
@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 Жыл бұрын
what if I want to send messages to multiple users?
@dipeshsamrawat7957
@dipeshsamrawat7957 Жыл бұрын
I'm from India, which Career should I use to send text message?
@gagankarnati643
@gagankarnati643 Жыл бұрын
How to send to multiple emails?
@krishpatil1788
@krishpatil1788 3 ай бұрын
All code makes sense! Thanks
@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.
@dhruvilshah1610
@dhruvilshah1610 3 жыл бұрын
Hi, i am not getting any email nor sms, what can be the issue?
@Th3CreeperStrike
@Th3CreeperStrike 4 жыл бұрын
This works perfect. Thanks!
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Awesome!
@rohanramesh100
@rohanramesh100 3 жыл бұрын
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!
@Lally219
@Lally219 3 жыл бұрын
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 3 жыл бұрын
Jump in our discord and someone can help you out!
@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
@maheshmichael6955
@maheshmichael6955 2 жыл бұрын
just simple and amazing the video and the explanations
@deepavk_queen
@deepavk_queen Жыл бұрын
Can we have a voice call text to speech
@HUB-E-BRO
@HUB-E-BRO Жыл бұрын
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?
@yorstrulyyy
@yorstrulyyy 4 ай бұрын
How to send alerts to many people at the same time?
@Minecraftssplayss
@Minecraftssplayss 3 күн бұрын
Are you trying to create havoc😂
@kapjoteh
@kapjoteh 3 жыл бұрын
How do u make this bot actually run like as a birthday reminder. Do I have to host it?
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Yeah. You could use something like Replit or heroku.
@ufmatt001
@ufmatt001 2 жыл бұрын
@@ClarityCoders Last words from any programmer
@jaden7674
@jaden7674 2 жыл бұрын
Great tutorial. Is there a way to get what they respond with?
@bavisettymounika6380
@bavisettymounika6380 Жыл бұрын
hey how can i send sms to jio in india...
@techbehindus5197
@techbehindus5197 2 жыл бұрын
Code runs correctly but no one message can come
@karimdz94
@karimdz94 2 жыл бұрын
I didn't get what are these libraries and how to install them
@googlegoogle9712
@googlegoogle9712 2 жыл бұрын
pip install
@linxx1184
@linxx1184 3 жыл бұрын
very useful tutorial...thanks for sharing this knowledge, this is a game changer!!
@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.
@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
@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.
@XiaoHC
@XiaoHC 2 жыл бұрын
Does anyone knows, why my GMS soft soft is diffrent ?
@MwendwaMathias
@MwendwaMathias 4 жыл бұрын
@clarity coders, can I get a similar code like this to make clinical email and sms reminders in Kenya please
@dougnintzel4655
@dougnintzel4655 2 жыл бұрын
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?
@KachowProduction
@KachowProduction 4 жыл бұрын
is there any way for all the messages to be sent under one phone number if im trying to send my self alerts through SMS? each time i send an alert to my self it is under a different phone number
@ClarityCoders
@ClarityCoders 4 жыл бұрын
I haven't noticed it coming on different numbers. I'll check that out and see what I can find.
@KachowProduction
@KachowProduction 4 жыл бұрын
@@ClarityCoders Cool thanks, just so you know my Carrier is AT&T, and when i tried this system with my friends that had other carriers, it didnt seem to do that so may be just tied to AT&T?
@melanieminalang7648
@melanieminalang7648 3 жыл бұрын
sir may I ask is there is a chance to sent SMS alert in many receivers ?
@dennisvanrijnlis6595
@dennisvanrijnlis6595 3 жыл бұрын
Did you find out?
@MuhammadOsamaAhmedEB_
@MuhammadOsamaAhmedEB_ 3 жыл бұрын
Why did u use the port no: 587? On line 14.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
It's the SMTP port. ( used for sending emails )
@rammaddirala6857
@rammaddirala6857 3 жыл бұрын
I can see... That this is a cool video so i subbed.
@ClarityCoders
@ClarityCoders 3 жыл бұрын
My man! Thanks for the sub.
@joadm5724
@joadm5724 2 жыл бұрын
can i do this with whatsapp?
@RedLlama
@RedLlama 3 жыл бұрын
How can I make this a sub program where the main program would run it?
@ClarityCoders
@ClarityCoders 3 жыл бұрын
I think I use this as a module in this video. kzbin.info/www/bejne/mXPbf4Oqqs1nh5I
@RedLlama
@RedLlama 3 жыл бұрын
@@ClarityCoders thank you. I will give it a try.
@hamzaaqeel191
@hamzaaqeel191 3 жыл бұрын
Can we make a call alert on my phone instead of email alert
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Haven't found a way to do that for free yet.
@deejae_music
@deejae_music 9 ай бұрын
can you like link the website here?
@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.
@palaorocio4358
@palaorocio4358 4 жыл бұрын
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 4 жыл бұрын
No thank you for watching we got more cool stuff coming out soon!
@ccfashing4412
@ccfashing4412 4 жыл бұрын
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 4 жыл бұрын
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.
@mr._.explorer
@mr._.explorer 4 жыл бұрын
Can't install smtplib in PyCharm as well as through my Command Prompt of Windows please help. Error: Couldn't find a version that satisfies the requirement smtplib (from versions: none) No matching distribution found for smtplib
@ClarityCoders
@ClarityCoders 4 жыл бұрын
Jump into discord someone can help you out!
@felixvalembois9596
@felixvalembois9596 3 жыл бұрын
hey ! Did u get an answer ? i'm on the same problem :/ I'd be glad to know :)
@Old_SDC
@Old_SDC 3 жыл бұрын
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
@Sxrenities
@Sxrenities 3 жыл бұрын
hey you probably wont see this but if you see this please reply. In this code, can I use a variable* in the message that says "Hey, Hello world" it could be helpful if i could use it in the message for example, I want to send a verification message for my game, well I can use a variable so the person doesn't need to enter the message into the code lines but just using the command prompt asking for the text to send after all i tryed to put a variable in the message it would not work if you know what line i should add please tell me have a good day. :) *example = input("enter something: ")
@ClarityCoders
@ClarityCoders 3 жыл бұрын
Of course! That would work and then you could include that variable in your message. If your using python 3.4+ I usually use f string example = input("Enter your message") message = f"This is my test message with user input: {example}"
@Sxrenities
@Sxrenities 3 жыл бұрын
@@ClarityCoders ty i didn't think about it i'm a bit of a rookie at coding xD (btw impressive how fast u responded :O)
@thomasj8496
@thomasj8496 3 жыл бұрын
Is the code available on a repo?
@foodpanda139
@foodpanda139 2 жыл бұрын
how to loop? please reply the code
@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
@suyash_mali
@suyash_mali 3 жыл бұрын
The code is running well but i am not able to receive any emails
@ClarityCoders
@ClarityCoders 3 жыл бұрын
make sure your tabs are lined up same as mine. they matter in python.
@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 :)
@alejandroalzatesanchez
@alejandroalzatesanchez 3 жыл бұрын
As a minecraft engineer*: _"I can automate that"_
@ClarityCoders
@ClarityCoders 3 жыл бұрын
My brain 24/7.... How can I make my computer do this for me?
@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.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 54 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 211 М.
Make A Security Camera With Python
35:58
Tech With Tim
Рет қаралды 238 М.
How to Send and Receive WhatsApp Messages with Python
6:08
TwilioDevs
Рет қаралды 30 М.