Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sendemail]

sendEmail is a command-line outgoing e-mail SMTP client that could be easily embedded into other applications or scripts.

0
votes
0answers
19 views

How can I install/use smptlib in Python 3.x with Thonny

I have got this response. I have no idea how to avoid it: Traceback (most recent call last): File "/home/pi/Franz/email3.py", line 2, in <module> import smtplib File "/usr/lib/python3/...
1
vote
1answer
26 views

Error when I run an email sending code from github on my R. Pi 3

So, I used this program from https://gist.github.com/johnantoni/8199088 To use for sending emails. I replaced everything with my own info, ie username, password, who it is to. But when I run it I get ...
0
votes
0answers
24 views

Help with multiple inputs and responding to how long the inputs have been active

I'm using python 2.7.13 on a Raspberry Pi 3 The goal of my program is to send an email when an input is received (input goes low and I'm using software pull-ups) and then send out another email with ...
0
votes
0answers
72 views

Check a status and alert me by email if it returns false

So I finished setting up my Raspberry Pi 3 for a crypto wallet, which need to be 24/7 running for staking (it means that if you have money on the wallet and let it run, sometimes you'll get a reward ...
0
votes
1answer
433 views

Script called in crontab every hour keeps sending emails at pi@raspberrypi

I'm on ubuntu mate 16.04.3 LTS, I'm trying to send an email every hour (with crontab) with the IP of my Pi 3 and other details. This is my script: #!/bin/bash file="/home/pi/Desktop/myIP.txt" nowip=$...
4
votes
2answers
787 views

Python parallel processes for raspberry pi zero…possible?

I'm trying to setup a concurrent photo capture and immediate email of said capture (triggered by a PIR motion sensor) in a Python script. Basically what I'm trying to accomplish is to have my Pi take ...
0
votes
1answer
301 views

Monitoring a Generator, Send email per relay state

I need to monitor the state of a generator. When the generator turns on ( testing or power failure) there is a relay that goes high/low. I can read from either state. I need for the pi to send email ...
1
vote
1answer
818 views

Error while using IMAPClient “ImportError : No module named imapclient”

I have installed all Library as given here Email Notifier StackExchange Still I am getting error as: "File "mail.py", line 1,in, import imapclient ImportError : No module named imapclient" Please ...
0
votes
1answer
195 views

error in sending e-mail on motion detecting

I am building motion sensor camera,,, so whenever any motion will be detected it should send email.. i have tried following code for that.. import RPi.GPIO as GPIO import time import picamera import ...
0
votes
1answer
549 views

Sending IP by email on sturtup [closed]

I'm trying to make my RP accessible over shh on WIFI, but I don't have control over my router (I live in student dorms) and I cannot config a static IP, so I wrote a python script that will get the ...
1
vote
2answers
802 views

How to write an IP change notifier script in Xbian? [closed]

I am fed up with constant IP address changes which prevents me to reach my RPI via SSH. How can I write a script which sends me the current IP address when a change occurs?
0
votes
1answer
2k views

Running a PHP Mailer Script via Cron

I have a php mailer script that needs to run every hour via cron job. Basically it collects information from a database attaches this in the phpmailer via html and sends it out. Via the web service ...
3
votes
2answers
2k views

Email notifications for low free space

I want to send an email when the space on my pi's sd card is getting low. Also I would like to delete old files when disk space is very full. I can program in Python though I have not yet done so for ...
0
votes
2answers
613 views

E-mail client to automatically handle attachments [closed]

I am looking for advice on where to start for this project: My plan is to use my RPi as an server to handle files. I thought an easy way to do this to setup an e-mail client that watches for new e-...
2
votes
4answers
8k views

Raspberry Pi to email when power outage occurs

Ok, my idea is for my raspberry pi to email me when the power goes out. Some things to note: the RPi is powered by battery backup, it will still be on when the power goes out. all of my network ...
1
vote
1answer
241 views

IR Door Security Project - Where to start?

For my first Raspberry Pi project i'd like to do some some of IR Door Security (sort of security - basically my landlord is conducting house viewings at anytime and when i'm not in i'd like to know ...
9
votes
4answers
50k views

How to set up ssmtp and send emails?

Im new to raspberry pi. I installed the raspian OS on it. I want to send emails from it using my gmail account. I want to send from the command line interface and from php scripts. I followed this ...
1
vote
1answer
519 views

Using Cron to email a folder size

I'm struggling to create a scheduled job in cron to send the directory size to an email address. This is what I've got so far crontab -e * * * * * du -s /path/to/dir | mail -s "test" email@domain....
17
votes
6answers
67k views

Raspberry Pi as an Email Server

I just got my Pi today, and of course I can't even use it because I got the wrong HDMI to DVI converter but that's besides the point and question. My question is the following: I have decided to ...
2
votes
1answer
5k views

Citadel server along Apache server behind a router

I have an Apache server running on my Raspberry Pi. The Pi is behind a router, having local IP address 192.192.192.192. I use the Virtual Server feature of the router to allow traffic through ports 80,...
2
votes
0answers
2k views

Automatically send email on torrent completion [closed]

I have set up my pi to be a media server and a seed box. I have the transmission daemon running in the background. I am able to successfully access the transmission web gui from my laptop. Now I am ...
6
votes
5answers
11k views

sendEmail failure

I want to send a email. Here my working example on ubuntu: sendEmail -f <FROM_EMAIL> -t <TO_EMAIL> -u 'Book' -m 'ISBN: 12345-678-90' -s smtp.gmail.com -o message-charset=utf8 -o tls=yes -...