So I assume I have the known 'certificate' issue in mono that prevents email from sending from HG.
I have latest HG (.37), supposed proper mono (ver 5.4.0.201), have done update/upgrade, but still no email sending. HG log reports:
2019-02-24 11:52:07.1672 Trace SendMessage: going to send email System.Net.Mail.MailMessage using mailService 'smtp.gmail.com', port '465', credentials System.Net.NetworkCredential, using SSL = True
then:
2019-02-24 11:52:17.4956 Trace SendMessage: error sending email {0}
2019-02-24 11:52:17.5003 Error System.Net.Mail.SmtpException: Message could not be sent. ---> System.IO.IOException: Connection closed
at System.Net.Mail.SmtpClient.Read () [0x000bd] in <8a8abae728c244359683ef777047ab9e>:0
at System.Net.Mail.SmtpClient.SendCore (System.Net.Mail.MailMessage message) [0x00000] in <8a8abae728c244359683ef777047ab9e>:0
at System.Net.Mail.SmtpClient.SendInternal (System.Net.Mail.MailMessage message) [0x00050] in <8a8abae728c244359683ef777047ab9e>:0
at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x00084] in <8a8abae728c244359683ef777047ab9e>:0
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send (System.Net.Mail.MailMessage message) [0x0009f] in <8a8abae728c244359683ef777047ab9e>:0
at HomeGenie.Automation.Scripting.NetHelper.SendMessage (System.String from, System.String recipients, System.String subject, System.String messageText) [0x003f1] in <b08d74f9b7fb4c85b616d2d9beee8275>:0
2019-02-24 11:52:17.5211 Error HomeAutomation.HomeGenie.Automation
at HomeGenie.Automation.Scripting.NetHelper.SendMessage (System.String from, System.String recipients, System.String subject, System.String messageText) [0x003f1] in <b08d74f9b7fb4c85b616d2d9beee8275>:0
2019-02-24 11:52:17.5225 Trace SendMessage: disposing smtpClient
2019-02-24 11:52:17.5264 Trace SendMessage: called for recipients mike@kilroywashere.com
2019-02-24 11:52:17.5310 Trace SendMessage: getting smtpSyncLock
2019-02-24 11:52:17.5323 Trace SendMessage: got smtpSyncLock
2019-02-24 11:52:17.5378 Trace SendMessage: going to send email System.Net.Mail.MailMessage using mailService 'smtp.gmail.com', port '465', credentials System.Net.NetworkCredential, using SSL = True
I assume this is the certificate issue in mono so often spoken about?
I have tried non gmail account for my smtp sender and same thing.
I try the certificate update command:
pi@raspberrypi:~ $ sudo apt-get install ca-certificates-mono
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates-mono is already the newest version (5.4.0.201-0xamarin10+raspbian9b1).
ca-certificates-mono set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So that does not do it.
ANY CLUES WHERE I SHOULD LOOK NEXT TO GET WORKING EMAIL?