Configuring Mango to Send Emails
-
To configure Mango Automation to be able to send email alarms and reports first go to the system settings page and click on the Email Settings
We recommend using the IP address of your smtp server if possible rather than the URL. To find your IP address try doing a ping to the SMTP URL from your command line.
-
Hi there,
Sorry if this question is too easy, but I'm a Mango newbie. I can't find where to configure the emails in Mango 3.0.1. This is what I can see in 'System Settings'.
Thanks for any help :)
-
Hi Silvia,
It's a very good question! The answer is that as the UI is being redesigned, a fair bit of functionality hasn't migrated over yet. The "Data sources" menu item will link you back into the old UI, and you can navigate to the old system settings page using the icon bar. Or, you can navigate to the /system_settings.shtm URL.
If you find there's a legacy page you visit especially often, you can link to it using a custom link menu item on the "Edit menu" page, linked to the full URL of the page.
-
@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?
-