Merge pull request 'trim mails' (#175) from staging into main

Reviewed-on: Ruderverein-Donau-Linz/rowt#175
This commit is contained in:
philipp 2024-01-21 16:08:10 +01:00
commit 5f31c565a3

View File

@ -128,8 +128,9 @@ Der Vorstand
.parse()
.unwrap());
let splitted = send_to.split(',');
let send_mail = false;
let mut send_mail = false;
for single_rec in splitted {
let single_rec = single_rec.trim();
match single_rec.parse() {
Ok(val) => {
email = email.bcc(val);