Questions tagged [sendemail]

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

29 questions
18
votes
5 answers

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 ditch Gmail and to setup my own email server. First I…
MCP_infiltrator
  • 283
  • 1
  • 5
  • 9
10
votes
4 answers

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…
omega
  • 201
  • 1
  • 2
  • 3
7
votes
5 answers

sendEmail failure

I want to send a email. Here my working example on ubuntu: sendEmail -f -t -u 'Book' -m 'ISBN: 12345-678-90' -s smtp.gmail.com -o message-charset=utf8 -o tls=yes -xu -xp On the raspberry i get an…
cupakob
  • 1,057
  • 3
  • 13
  • 17
4
votes
2 answers

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 the pi. I am sure sending an email would be easy…
skyfly200
  • 51
  • 1
  • 4
3
votes
2 answers

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 a picture with the attached 8MP picamera and…
Dai San
  • 105
  • 3
  • 6
3
votes
1 answer

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, 21, 22 and 2000. My website connects to the…
Vlad Schnakovszki
  • 1,271
  • 2
  • 15
  • 17
3
votes
5 answers

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 equipment is powered by battery backup, so i will be…
Ace
  • 219
  • 1
  • 2
  • 6
2
votes
0 answers

Automatically send email on torrent completion

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 trying to make the daemon send an email…
Nik
  • 129
  • 4
2
votes
0 answers

What creates mail count message?

I'm running several Raspberry Pi and when I open a terminal, the message "No mail." is displayed. Email on these Pis is configured to use $HOME/Maildir. If I run the messages program in mailutils, an accurate count of new messages is shown. I'm…
jhogarth
  • 21
  • 1
1
vote
1 answer

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.com as I understand it, this should send an email…
Dale
  • 13
  • 2
1
vote
1 answer

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 this error: Traceback (most recent call last): …
Adzzi
  • 11
  • 1
1
vote
1 answer

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 when it comes on, once, and then a different email…
Danny Swan
  • 11
  • 2
1
vote
1 answer

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 help I am new to Rpi.
1
vote
2 answers

How to write an IP change notifier script in Xbian?

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?
ybaylav
  • 13
  • 3
1
vote
1 answer

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 whats going on). The idea is to have an infrared…
1
2