Can't send e-mail alert (solution)

5 years 10 months ago #3972 by kocko
Hi , I run EasyIoT server for years at windows PC. These days I bought raspberry pi and migrate server on it. All run like a charm except e-mail alert. I use gmail account and can't send mail from automation (at windows pc there was no problem two days ago). After few hours reading I found the solution: when run "sudo apt-get install mono-complete" at raspberry install mono 3.2.8 . Old version and can't work with gmail because of TLS 1.2. The minimum work version is 4.8. How to update:
1. Add the mono sourses. Execute the following commands:
sudo apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt-get -y install apt-transport-https
echo "deb stable-raspbianjessie main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update

2.Update MONO. Execute the following command
sudo apt-get -y install mono-complete mono-vbnc

3. Check to see if the update was successfull
mono -V
Mono JIT compiler version (tarball Thu May  3 11:57:48 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.

If you have successfully updated to a recent version of mono, you can restart Raspberry and Automation with gmail alert will work .
Thats all ...sorry for my English ;)
The following user(s) said Thank You: essenemari

Please Log in or Create an account to join the conversation.

Time to create page: 0.221 seconds

Forum latest

  • No posts to display.