I tried another provider and got:

Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: #1
Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: #2
Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: using SMTP_SSL
Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: #6
Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: #7
Dec  4 21:19:06 weewxPi weewx[14230]: lowBattery: send email failed: (535, 
'Authentication 
credentials invalid')

So the problem is with the smtp_host. The credentials are valid, I guess I 
need to configure to allow external programs to send mails with that 
provider

But back to the other provider:

s=smtplib.SMTP_SSL(self.smtp_host, self.smtp_port, "localhost", 5)

The snippet above is what I tried next, setting port and timeout didn't 
change anything. I'd expect to throw an error after 5 seconds, baut nothing 
happens again. I tried with all the possible settings from my provider. I 
send mail using java and this account without any problem.


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1e92167b-8f32-40fc-8af3-45258b4affee%40googlegroups.com.

Reply via email to