Python Forum
send email after restart raspberry pi
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
send email after restart raspberry pi
#3
(Jun-05-2019, 10:15 AM)DeaD_EyE Wrote: Of course it is.
https://realpython.com/python-send-email/

You can use the email and smtplib. A better API is provided by emails.
To start your script after booting, you can use:
  • a stupid init-script
  • /etc/rc.local
  • systemd
  • cron, google for @reboot cron

Thank for your answer,but i am very beginner,can you write semple code and tell me what i do to start after restart raspberry?
Thank you very much
Reply


Messages In This Thread
send email after restart raspberry pi - by chano - Jun-05-2019, 09:48 AM
RE: send email after restart raspberry pi - by chano - Jun-06-2019, 11:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Virtualenv with auto restart JohnnyCoffee 3 2,961 Apr-27-2021, 05:27 AM
Last Post: ndc85430

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020