Unable to issue email notifications #697
Replies: 7 comments 5 replies
-
@ilikemyfto can you share your environment variables you're setting either when starting the container or in your |
Beta Was this translation helpful? Give feedback.
-
Hi Alex I've blotted out my email with *****. Logs and any other bits I could download from Portainer are in the txt and docx files contained in my previous post. I am hosting the Speedtest_tracker on a Raspberry pi4 2gb running the Raspberry OS full 64bit Debian Bullseye. Apart from not being able to issue notifications the SpeedTest-Tracker works really well and I have enjoyed using it. Also I'm rather please to get programs running in Docker. The pi is also running Pi-Hole and a VPN. Thanks again. Kind Regards Roy |
Beta Was this translation helpful? Give feedback.
-
Hi Alex. Thank you for pointing out my error, I had been trying to see if it would work with gmail and opps! I omitted to change the - "MAIL USERNAME=" statement back to smtp.virginmedia.com. I have noticed that when I try the "test email channel" I get the "Test mail notification sent" ok but immediately in the log for [speedtest-tracker-db-1] container I see this message:- (http://192.168.1.96:9000/#!/2/docker/containers/369f542daa7561463e73e05351117a8cc519b37d1ac39c5a097dc096afd773c8) Using a python script with the same from and to email addresses/password works ok. So I'm stumped. :-( Kind Regards Roy |
Beta Was this translation helpful? Give feedback.
-
I have tried to get the email notifications by using malign as you suggested. The Docker stack is as follows:-
with an email address as per the mailgun authorized recipients. It still doesn't work. Do you have any ideas? Kind Regards Roy Edited by @alexjustesen to make the |
Beta Was this translation helpful? Give feedback.
-
Can confirm that email notifications work. I use Microsoft 365 for email and relay and no issues with email coming through. Check the logs when you attempt to send a test? |
Beta Was this translation helpful? Give feedback.
-
_speedtest-tracker_logs.txt Attached are the logs from Containers Speedtest_tracker, Speedtest_tracker-db and MariaDB Also I confirm that email notifications from Speedtest_tracker does not work on my installation. Raspberry pi4 2gb loading from 256GB ssd. Thanks |
Beta Was this translation helpful? Give feedback.
-
Still hoping for a suggestion, I've loaded the app with Docker (MariaDB/MySQL), to get the email Notifications running should I have loaded the app another way? |
Beta Was this translation helpful? Give feedback.
-
I have tried to issue email notifications and used email providers such as gmail, maligun and Virginmedia to no avail. I have set notifications to trigger on: Notify on every speedtest run and Notify on threshold failures.
Attached is a copy of todays logs taken from Portainer and a copy of the Stack. I have also attached a copy of a Python program which I have used to show that the username and password used for the gmail account works.
_speedtest-tracker_logs.txt
_speedtest-tracker-db-1_logs.txt
Stacks>speedtest-tracker.docx
import smtplib.docx
Otherwise the program is a fantastic project, over the weekend it really showed the effects of the storm.
![Screenshot 2023-08-30 at 14 25 14](https://private-user-images.githubusercontent.com/34509561/264357152-d1e69782-ac00-4a90-9f4c-700e8058445b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI1ODM4NzIsIm5iZiI6MTcyMjU4MzU3MiwicGF0aCI6Ii8zNDUwOTU2MS8yNjQzNTcxNTItZDFlNjk3ODItYWMwMC00YTkwLTlmNGMtNzAwZTgwNTg0NDViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAyVDA3MjYxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJhZWIxODgwOWRhNDQxNmI1ZDA0YzM4ZjY1YWRlMmM1ZjkwMzRlMjgyZDE0ZDdlMmQ5OGNmZWM5YWQwNzZkODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OTQP2VE_uPdIEPs1rhCDdlm6SENpLS9nYAz51v1rquA)
Thanks for any help given.
Beta Was this translation helpful? Give feedback.
All reactions