Configuring Mango to Send Emails
-
@jared-wiltshire
Dear when I try to upload ma.log file I have this msg. -
I read a ma.log and found these errors :
ERROR 2017-12-24T05:00:00,000 (com.infiniteautomation.nosql.maint.MangoNoSqlBackupWorkItem$NoSqlBackupTask.run:278) - Unparseable date: "0" java.text.ParseException: Unparseable date: "0"
ERROR 2017-12-24T00:05:15,043 (com.serotonin.m2m2.rt.maint.BackgroundProcessing$1.run:76) - Error in work item
ERROR 2017-12-23T19:25:29,920 (com.serotonin.bacnet4j.transport.DefaultTransport.run:462) - Error during expire messages: java.lang.NullPointerException: null
-
Hi Layloosh,
None of those errors are related to your SMTP.
The first error is a known issue with incremental backups. It is minor.
The second, you did not provide the stack trace below this log message, so I don't know what it's doing.
The third pertains to your BACnet setup, and tells me you may not be using the latest Mango, but for SMTP this shouldn't matter.
-
so what I can do to solve this problem ???
-
@layloosh said in Configuring Mango to Send Emails:
so what I can do to solve this problem ???
We still need to get a look at your logs in order to help you. If you can't upload the log to the forum try uploading it to a third party site such as Google Drive, Dropbox, gist.github.com, pastebin.com etc and post the link here.
-
why ma.logs file size = 0 ??
-
This post is deleted! -
Hi Layloosh,
Going through the errors,
-
Null in jsonWrite for scheduled event - this may be an issue. I will look into it more deeply. It is not the cause of your emails not sending, but it appears it may be causing your configuration backups not to run.
-
Null in default transport - I'm not sure, but i would expect there is an update available for your BACnet module.
-
Unparsable date - known issue, not significant
-
UnknownHostException - is your DNS configured correctly? This is most likely the cause, since it is probably the DNS for the SMTP server cannot be resolved either. From the server, does
ping smtp.gmail.com
get responses?
-
-
yes I get a responses
-
Hmm, then the SMTP settings are the issue. If you had it working in the past, I would recommend using those settings. Also, it would be good to try to send a few test emails in the period of time covered by the log file, otherwise there's no information in there relevant to the SMTP issue.