Forum Home › Forums › Understanding the Software › Unable to send emails
- This topic has 6 replies, 2 voices, and was last updated 7 years, 11 months ago by inpelsa.
-
AuthorPosts
-
April 11, 2016 at 4:50 pm #934inpelsaParticipant
Hi,
Please write proper documentation for the whole system and/or make it more intuitive. Some configuration screenshots or video (in any language) will help a lot. Some easy tasks take too long to guess how to make it work.
Using 4.5.0.5…
I have configured timed events, commands… they seem to be correctly raised. No luck using the kpemail device’s commands tab for testing.
After ‘fighting’ with the config I get to this point, but no clue about what is happening:
——————————————————————————–
Device 44 “EMailSender”
———————–
DLL : KpEmail
State : error
Comm. session : time is undefined
Command : 11/04/2016 18:35:18Comm. sessions (total / errors) : 0 / 0
Commands (total / errors) : 4 / 4
Requests (total / errors) : 0 / 0Current device tags data
+——–+————-+——-+———+
| Signal | Name | Value | Channel |
+——–+————-+——-+———+
| 1 | Sent emails | 0 | |
+——–+————-+——-+———+No archive data
No events
Commands (recent 10 commands)
+——+———————+———————————————————–+
| Num. | Date and Time | Description |
+——+———————+———————————————————–+
| 1 | 11/04/2016 18:34:59 | Command: type = Binary, device num. = 44, data = 74657374 |
+——+———————+———————————————————–+
| 2 | 11/04/2016 18:35:04 | Command: type = Standard, device num. = 44, value = 1.000 |
+——+———————+———————————————————–+
| 3 | 11/04/2016 18:35:12 | Command: type = Binary, device num. = 44, data = 74657374 |
+——+———————+———————————————————–+
| 4 | 11/04/2016 18:35:15 | Command: type = Standard, device num. = 44, value = 1.000 |
+——+———————+———————————————————–+——————————————————————————–
2016-04-11 18:34:47 Initialize communication line 4 “COM-ETH-RS485”
2016-04-11 18:34:47 Start communication line 4 “COM-ETH-RS485”
2016-04-11 18:34:47 Serial port ‘COM4’ is open
Loading address bookWaiting for commads…
2016-04-11 18:35:18 Command to the Device 44 “EMailSender”, type: KpEmail, address: 44
Incorrect command data2016-04-11 18:35:18 Command to the Device 44 “EMailSender”, type: KpEmail, address: 44
Illegal command2016-04-11 18:35:18 Command to the Device 44 “EMailSender”, type: KpEmail, address: 44
Illegal command2016-04-11 18:35:18 Command to the Device 44 “EMailSender”, type: KpEmail, address: 44
Illegal commandWaiting for commads…
——————————————————————————–
Thanks for any help in advance,
April 11, 2016 at 5:13 pm #935inpelsaParticipantReading the .DLL source code I guessed the command syntax:
https://github.com/RapidScada/scada/blob/master/ScadaComm/OpenKPs/KpEmail/KpEmailView.cs
“Sending email notifications.\n\n” +
“Commands:\n” +
“1 (binary) – send the notification.\n\n” +
“Command text examples:\n” +
“group_name;subject;message\n” +
“contact_name;subject;message\n” +
“email;subject;message”;I don’t know where this tip can can be seen but… better doc… lesser time spent.
I understand you have to sell the Extended Support, but a community software without a minimal documentation is useless.
April 11, 2016 at 5:32 pm #936MikhailModeratorHello,
You right, the documentation should be improved.The description that you found in the source is shown on Device Libraries tab of Communicator application.
To send emails automatically you need to install and configure Automatic Control Module
Are emails sent successfully for now?
April 11, 2016 at 5:36 pm #939MikhailModeratorFunctionality of sending emails will be added to the default configuration.
April 11, 2016 at 6:20 pm #940inpelsaParticipantwell… it works sometimes.
Is it mandatory to use a mail server IP Address?
Seems using a DNS address doesn’t work anymoreApril 11, 2016 at 6:23 pm #941MikhailModeratorOf course you can use DNS.
E.g.,
smtp.gmail.com, port 587April 12, 2016 at 8:20 am #942inpelsaParticipantIt works well.
DNS problem was just the firewall blocking it. -
AuthorPosts
- You must be logged in to reply to this topic.