Configuring Mango to Send Emails
-
@silvia The email settings will be in the new UI as of Mango 3.1 which is scheduled for release today.
-
Thanks @phildunlap and @Jared-Wiltshire, I've upgraded Mango to release 3.1. and it's all working now :)
-
@joelhaggar @phildunlap @silvia @Jared-Wiltshire pleas help me :) why my email can't send me any alarms and notification when any events are occur ?
this is my config :
-
Hi Layloosh,
Have you checked your Mango/logs/ma.log file for any relevant messages? I would expect there to be a suggestion of the issue there.
-
@layloosh Firstly check the help page from Google here - https://support.google.com/a/answer/176600?hl=en
It seems that port 465 will require SSL which is not supported via our Email setup page.I use port 587 and TLS which works well for me.
-
Dear @phildunlap I check it now but I don't know what I do with this file it contain a large of information I can't understand it :(
Dear @Jared-Wiltshire I config it again but I still have the same problem , and I check if this port (587) is open or not !!! the port is open ...... what I can do
P.S .... in the last week the email is working and send all notification so what is happened in this week I don't know !!!!!!plz help me ^.^
-
@Layloosh Your SMTP settings look correct, check your internet connectivity, DNS and username/password.
Also just upload your ma.log file (there's an upload button just above the text box) and we can look for what might be the issue.
-
I check my internet connectivity every things are correct !!
my ma.log file :
[0_1513843779567_ma.log](Uploading 100%)
-
@layloosh said in Configuring Mango to Send Emails:
I check my internet connectivity every things are correct !!
my ma.log file :
[0_1513843779567_ma.log](Uploading 100%)
You are going to have to try and upload that again. Be patient.
-
@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.