Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Error sending Test Email
Moderator: mcrossley
- philpugh
- Posts: 385
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Error sending Test Email
I have set up email to send via my SMTP (smtp.outlook365.com) and all fields are filled in correctly!
I get this message in the MXDiags file when sending a test email from Alarms section....
2021-05-08 17:12:27.680 Sending test email...
2021-05-08 17:12:29.279 SendEmail: Error - System.ArgumentNullException: Value cannot be null.
Parameter name: protocolLogger
at MailKit.MailService..ctor (MailKit.IProtocolLogger protocolLogger) [0x00009] in <3c7f101e718c4265a4f575cb521ca758>:0
at MailKit.MailTransport..ctor (MailKit.IProtocolLogger protocolLogger) [0x00000] in <3c7f101e718c4265a4f575cb521ca758>:0
at MailKit.Net.Smtp.SmtpClient..ctor (MailKit.IProtocolLogger protocolLogger) [0x00026] in <3c7f101e718c4265a4f575cb521ca758>:0
at CumulusMX.EmailSender.SendTestEmail (System.String[] to, System.String from, System.String subject, System.String message, System.Boolean isHTML) [0x0010e] in <9827d53884c546aa85bfc5f2c5251365>:0
2021-05-08 17:12:29.280 Test email sent without error
Email setting screen attached I understand the 'sent without error' isn't right!!
I get this message in the MXDiags file when sending a test email from Alarms section....
2021-05-08 17:12:27.680 Sending test email...
2021-05-08 17:12:29.279 SendEmail: Error - System.ArgumentNullException: Value cannot be null.
Parameter name: protocolLogger
at MailKit.MailService..ctor (MailKit.IProtocolLogger protocolLogger) [0x00009] in <3c7f101e718c4265a4f575cb521ca758>:0
at MailKit.MailTransport..ctor (MailKit.IProtocolLogger protocolLogger) [0x00000] in <3c7f101e718c4265a4f575cb521ca758>:0
at MailKit.Net.Smtp.SmtpClient..ctor (MailKit.IProtocolLogger protocolLogger) [0x00026] in <3c7f101e718c4265a4f575cb521ca758>:0
at CumulusMX.EmailSender.SendTestEmail (System.String[] to, System.String from, System.String subject, System.String message, System.Boolean isHTML) [0x0010e] in <9827d53884c546aa85bfc5f2c5251365>:0
2021-05-08 17:12:29.280 Test email sent without error
Email setting screen attached I understand the 'sent without error' isn't right!!
You do not have the required permissions to view the files attached to this post.
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
-
- Posts: 225
- Joined: Sat 27 Aug 2016 12:11 am
- Weather Station: Davis vantage pro 2
- Operating System: Debian
- Location: Wickliffe, Ohio
- Contact:
Re: Error sending Test Email
I got the same errors, using my isp smtp, even tried localhost and saw no entries in the mail log files.
Jeff
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Error sending Test Email
It's a bug in the send mail function - if you switch on email logging - Program Settings > General Settings - the error will not occur.
I'll fix this in a future release.
I'll fix this in a future release.
-
- Posts: 225
- Joined: Sat 27 Aug 2016 12:11 am
- Weather Station: Davis vantage pro 2
- Operating System: Debian
- Location: Wickliffe, Ohio
- Contact:
Re: Error sending Test Email
That did the trick Mark.
I did enter logging=1 in ini file but I didn't restart MX as I thought with updating settings with the dashboard it would reload on its own. either way it now works
I did enter logging=1 in ini file but I didn't restart MX as I thought with updating settings with the dashboard it would reload on its own. either way it now works
Jeff
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
-
- Posts: 44
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: Error sending Test Email
after upgrade to build 3130 i still need to switch on email logging.
Harm
Harm
-
- Posts: 2475
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Error sending Test Email
Correct. As Mark said, it will be fixed in a future release.
-
- Posts: 44
- Joined: Fri 13 Jul 2012 5:05 pm
- Weather Station: Davis VP2 + Weatherlink IP
- Operating System: Pi 4 / Linux 6.1.21-v8+ aarch64
- Location: 't Zandt, The Netherlands
- Contact:
Re: Error sending Test Email
ok thanks and no hurry Mark.
Harm
Harm
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: Error sending Test Email
I have also noticed that, when I restart MX, the mail logging check box in the program general settings doesn't seem to hold. I have to check it again. Not sure if this is deliberate.
Cheers
Steve
Cheers
Steve
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Error sending Test Email
did you click the "save" button at the bottom of the screen when you select the option?
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- philpugh
- Posts: 385
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 11 (RPi4)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: Error sending Test Email
In the 'small print' on the email logging page it says that this setting is only for this session. If you restart CumulusMX you need to reset the logging.
It does fix the temporary problem though!
It does fix the temporary problem though!
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
-
- Posts: 119
- Joined: Sat 31 Oct 2015 10:22 pm
- Weather Station: Ecowitt GW1001
- Operating System: RPi 3 Raspbian Buster
- Location: Perth Western Australia
Re: Error sending Test Email
Thanks for the feedback. I did hit the save button after checking the box but I think Phil might have it - the setting only holds for the current session. Is this to prevent large log files? otherwise might be good to have it hold the setting.
Cheers
Steve
Cheers
Steve