Email and Connect service for raspberry pi

Hi,
I am having great trouble setting up a working email in my rasbpi and thought the connect device was the answer to get remote access and email included but am very confused as to what is going on!
Can anyone help me please?
Cheers Steve

Hi Steve,

Could you share more about what you have done so far? Are you following any tutorial/video in particular to get this set up?

Raspberry Pi has documentation of their own to help you set up remote access that you may like to have a look at.
https://www.raspberrypi.com/documentation/computers/remote-access.html

Hi,
It is the document that you kindly gave the link to that I am following.
I initially started following an old posting on a site called Circuit Digest(not sure if this is active now)for a home burglar alarm. A PIR activated a pi camera to automatically generate an email alert to which a vidéo/photo was attached.
They had used gmail server to route the sent message in the raspberry pi to another address associated with a lap top via the internet. It would not send the test email. So I have been trying to figure out what I am doing wrong since then.
I have used ssh before to send instructions to a robotic arm.
I also came across The Connect server that Raspberry Pi are setting up which I thought would be the answer to my problem but I am missing something in getting an email address still.
I have tried down loading Claw and Thunderbird, still messing it up!
I am investigating ‘api keys’ on Google/gmail to see if that is a route I can make work!
I have seen some videos on YouTube about setting your Raspberry Pi up as a server and wondering if that is what I am going to have to try to do!
I will try and attach the initial tutorial from Circuit Digest if I can!
Thanks for your interest.

Is it because I need to get a domain name for setting up an email?

Hi @Stephen232509,

There may be a few issues here to solve.
Google may have changed how to deal with login ins emails since the guide was first made.
This will likely not work if you have any form of 2FA enabled as well.

This guide may be able to help with getting past the email configuration step.

It may also be with looking into discord notifications using webhooks as well. I haven’t done this with Python or Pi yet but I have a few servers set up to notify me over Discord and I’ve found the time to get the notification can be shorter than email and more reliable.

1 Like

Hi Stephen,
I did managed to do something very similar to this a few years ago.
The Rasberry pi I used was pretty old and had been in the bottom draw for more than 5 years.
The good news is it’s still working today and from memory it uses gmail. My system monitors an off grid power system and when the signal comes on that would normally signal a generator to start it triggers the Raspberry pi to send an email.
I suggest you break down your process into finite pieces and look for error messages to narrow down where your process is failing. It’s difficult to offer advice without knowing what’s exactly wrong.
Can you simplify the process to test each piece?
Once you get more details post here I’m sure you will get lots of help.
David
PS I think an email server is overkill. You need an email client. A server is going to introduce a swag of new problems.

3 Likes

Thanks very much.
I think the first place I got stuck at was trying to send the test email with the echo cmnd!

1 Like