gtrianta1965 / ServiceWatcher

Standalone java application for Service Monitoring
0 stars 0 forks source link

Send email BUG #41

Closed androklis closed 7 years ago

androklis commented 7 years ago

When I user deploy script to deploy SW, the Reporter does not send email updates. If I run SW from Project's directory it works fine.

Another problem is that even if smtpSendMailOnSuccess is set to false, SW sends the mail on service success.

androklis commented 7 years ago

This bug is produced because we try to attach SW logo in the mail by providing an absolute path. ("src/main/resources/images/swCrop.png")

Although, I tried to find a workaround for this and I found that swCrop.png is inside of the jar file. Do we need resources directory inside the jar file? We could have resources outside of the jar.