nymea / nymea-plugins

A collection of plugins for the nymea IoT server.
GNU Lesser General Public License v3.0
22 stars 25 forks source link

MailNotification: Fix double mail ending #725

Closed mzanetti closed 8 months ago

mzanetti commented 8 months ago

The message body is already composed using a \r\n.\r\n at the end, and the actual sending process appended an extra one. While apparently the plugin was working with most mail servers, the double \r\n.\r\n at the end violates the spec and newer OpenSMTP servers are rejecting this.

nymea-plugins pull request checklist: