HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: wolfer201 on July 07, 2016, 01:22:39 AM

Title: Alarm Email not working <Filename unknown>?
Post by: wolfer201 on July 07, 2016, 01:22:39 AM
I haven't been able to get email working on my HG setup (R525). Is there a setting i missed somewhere that i have to specify contents of the email because Checking the log i get the following error:

Code: [Select]
"2016-07-06 16:03:31.5399 Error HomeAutomation.HomeGenie Service.Utility.RunAsyncTask address Exception.StackTrace   at System.Net.Mail.MailAddress..ctor (System.String address" System.String displayName System.Text.Encoding displayNameEncoding) [0x00000] in <filename unknown>:0
  at System.Net.Mail.MailAddress..ctor (System.String address System.String displayName) [0x00000] in <filename unknown>:0
  at System.Net.Mail.MailAddress..ctor (System.String address) [0x00000] in <filename unknown>:0
  at System.Net.Mail.MailAddressCollection.Add (System.String addresses) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.NetHelper.SendMessage (System.String from System.String recipients System.String subject System.String messageText) [0x00000] in <filename unknown>:0
  at HomeGenie.Automation.Scripting.NetHelper.SendMessage (System.String recipients System.String subject System.String messageText) [0x00000] in <filename unknown>:0
Title: Re: Alarm Email not working <Filename unknown>?
Post by: fra290 on July 23, 2016, 03:24:53 PM
have you solved the problem of email ?

I have the same trouble with 1.1 beta r525, mono V 4.2.3 on respberry pi3
I have installed the certificate with:
Code: [Select]
sudo apt-get install ca-certificates-monoI have also try this:
Code: [Select]
sudo apt-get install mono-devel
mozroots --import --ask-remove --machine
certmgr -ssl smtps://smtp.gmail.com:465
and I try lot of other things.. so fare I haven't see outgoing messages but only this error:

2016-07-23 15:03:17.0640 Error HomeAutomation.HomeGenie.Automation   NetHelper   Message could not be sent.   Exception.StackTrace     at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) <0x6c130318 + 0x00174> in <filename unknown>:0

...
   MArco
Title: Re: Alarm Email not working <Filename unknown>?
Post by: petediscrete on July 23, 2016, 07:42:58 PM
Just tested running RPI B+ on HG 1.1 r525. All working ok.
Title: Re: Alarm Email not working <Filename unknown>?
Post by: Doc on August 09, 2016, 10:04:43 AM
Hi, I am running RPI B+ on HG 1.1 r525 and I cannot get email to run when the security system is activated, I keep getting the same error as above. I also tried on Windows but get the same problem. Been through suggestions including certificates and reducing gmail app security but no luck. Could I ask if you did anything special to fix the problem please? Appreciate any assistance anyone can offer.