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

Cannot get CumulusMX Email to work in Version 3129.

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Cannot get CumulusMX Email to work in Version 3129.

Post by M1DUL »

Hi Folks,
Does anyone else have this problem?? I have been trying to set up the new CumulusMX Email service for alarms.
In MXdiags I am getting this error code, see below:

2021-05-08 16:35:39.853 SendEmail: Error - System.ArgumentNullException: Value cannot be null.
Parameter name: protocolLogger
at MailKit.MailService..ctor(IProtocolLogger protocolLogger)
at MailKit.MailTransport..ctor(IProtocolLogger protocolLogger)
at MailKit.Net.Smtp.SmtpClient..ctor(IProtocolLogger protocolLogger)
at CumulusMX.EmailSender.<SendEmail>d__4.MoveNext()

No E-mails are being received with either test or alarms.

Any help gratefully received. I am using gmail email for info.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
freddie
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: Cannot get CumulusMX Email to work in Version 3129.

Post by freddie »

Can you screenshot your settings page? Remove username/password first though.
Freddie
Image
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: Cannot get CumulusMX Email to work in Version 3129.

Post by M1DUL »

freddie wrote: Sat 08 May 2021 6:12 pm Can you screenshot your settings page? Remove username/password first though.
Hi Freddie, Thank you for replying back to me here is a screen print of my Email settings.

Image

Many Thanks
You do not have the required permissions to view the files attached to this post.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
User avatar
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: Cannot get CumulusMX Email to work in Version 3129.

Post by ConligWX »

do you use 2FA on the email account?

if so you will need to create an app password in your google account settings under security, Signin into google, app passwords.

then create a new custom app password for Cumulusmx and generate the password. use that as the password in the admin Panel email settings
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
freddie
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: Cannot get CumulusMX Email to work in Version 3129.

Post by freddie »

I would try setting "use SSL/TLS" to STARTTLS. Or change the port to 465 and set "use SSL/TLS" to Tlsonconnect.
Freddie
Image
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: Cannot get CumulusMX Email to work in Version 3129.

Post by M1DUL »

ConligWX wrote: Sat 08 May 2021 6:31 pm do you use 2FA on the email account?

if so you will need to create an app password in your google account settings under security, Signin into google, app passwords.

then create a new custom app password for Cumulusmx and generate the password. use that as the password in the admin Panel email settings
Thanks for the message, Yes I have got 2FA on my email account. I did that all and it still comes up with that error in MXdiags.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
User avatar
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: Cannot get CumulusMX Email to work in Version 3129.

Post by ConligWX »

Your settings are exactly how mine are, so not sure how yours is failing as mine is working.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0

Image
User avatar
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: Cannot get CumulusMX Email to work in Version 3129.

Post by mcrossley »

M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: Cannot get CumulusMX Email to work in Version 3129.

Post by M1DUL »

mcrossley wrote: Sat 08 May 2021 11:22 pm Please see - viewtopic.php?p=153975#p153975
Thank you Mark, for the above message.

I just thought I would let you know, that it works fine with Email logging, turned on, but not when it is off or if you close CumulusMX and restart CumulusMX, you need to turn it back on. It even does the same with Version 3130.

Sorry but !!! You have stated that "Fix: Fix Test email logging "success" on failure". This problem has not been fixed at all. Email logging still needs to be enabled.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
freddie
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: Cannot get CumulusMX Email to work in Version 3129.

Post by freddie »

M1DUL wrote: Sun 09 May 2021 4:49 pm Sorry but !!! You have stated that "Fix: Fix Test email logging "success" on failure". This problem has not been fixed at all. Email logging still needs to be enabled.
The erroneous log message saying "email sent successfully" (when it hasn't) HAS been fixed in b3130.
The requirement for email logging to be enabled HASNT been fixed in b3130.
Think you got a bit mixed up there.
Freddie
Image
Post Reply