more G-Labs products

Author Topic: Alarm Email not working <Filename unknown>?  (Read 894 times)

July 07, 2016, 01:22:39 AM
Read 894 times

wolfer201

  • *
  • Information
  • Newbie
  • Posts: 6
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
« Last Edit: July 07, 2016, 01:26:03 AM by wolfer201 »

July 23, 2016, 03:24:53 PM
Reply #1

fra290

  • *
  • Information
  • Newbie
  • Posts: 15
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

July 23, 2016, 07:42:58 PM
Reply #2

petediscrete

  • ****
  • Information
  • Sr. Member
  • Posts: 220
Just tested running RPI B+ on HG 1.1 r525. All working ok.

August 09, 2016, 10:04:43 AM
Reply #3

Doc

  • *
  • Information
  • Newbie
  • Posts: 8
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.