motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.99k stars 655 forks source link

Fix testing of email notification with multiple recipients. #3042

Open donlorenzo opened 3 months ago

donlorenzo commented 3 months ago

Currently, sending test notification emails does not work when there are multiple recipients. The string containing multiple recipients is not split into a list of recipients. This PR fixes this. It uses the same logic (splitting on any of , (comma), ; (semicolon), | (pipe), or ` (space) ) as themain` function of sendmail.py.