How to send email when power outage

phoenix55

Well-Known Member
Joined
Jun 22, 2007
Messages
278
Reaction score
23
I have a RCT 2000va UPS connected to a HP Proliant Microserver gen 8 via USB cable

I have ViewPower UPS software installed on the server

When the power goes off, the UPS shuts down the server as it should

But no email is sent

I'm using Gmail (smtp.gmail.com) on port 587 SSL and SMTP authentication required is ticked. I'm using a Gmail email address with an app password

When I try test the send email function it fails. See attached as well as settings

I have another app (USB thermometer) that sends an email with the same user and settings (587 SSL)

Any ideas how to get this to work?

Or another way or app to send an email notification when the power goes off?
 

Attachments

  • ups Screenshot 2023-10-13 130531.png
    ups Screenshot 2023-10-13 130531.png
    59.2 KB · Views: 42
  • ups Screenshot 2023-10-13 125536.png
    ups Screenshot 2023-10-13 125536.png
    96.5 KB · Views: 40
Use TLS not SSL. SSL has been dead forever now.

Also your second screenshot reveals your gmail address
 
I have a RCT 2000va UPS connected to a HP Proliant Microserver gen 8 via USB cable

I have ViewPower UPS software installed on the server

When the power goes off, the UPS shuts down the server as it should

But no email is sent

I'm using Gmail (smtp.gmail.com) on port 587 SSL and SMTP authentication required is ticked. I'm using a Gmail email address with an app password

When I try test the send email function it fails. See attached as well as settings

I have another app (USB thermometer) that sends an email with the same user and settings (587 SSL)

Any ideas how to get this to work?

Or another way or app to send an email notification when the power goes off?

How does the UPS have internet connectivity?

The thermometer I assume has wifi?
 
How does the UPS have internet connectivity?

The thermometer I assume has wifi?
UPS is connected to server that has the ViewPower software running on it

Thermometer is USB and the is plugged into server that has the sofware running on it
 
I found the ViewPower log in C:\ViewPower\log\log4j.log

In it there are a number of records, but in particular is the lines where even though on the screen it says port 587, in the error it says 465

Is the port number being stored somewhere in cache or hard coded and that's why it's not working as it needs to use port 587?
 

Attachments

  • ups viewpower - 03b - Screenshot 2023-10-14 023217.jpg
    ups viewpower - 03b - Screenshot 2023-10-14 023217.jpg
    55.7 KB · Views: 11
Add a smtp relay app on your machine that can listen on port25 and then relay to the correct relay
 
I've used this successfully to make dumb mail clients "smarter"
 
Top
Sign up to the MyBroadband newsletter
X