Compare commits

..

2 Commits

Author SHA1 Message Date
5f31c565a3 Merge pull request 'trim mails' (#175) from staging into main
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
Reviewed-on: #175
2024-01-21 16:08:10 +01:00
6a22811ad9 trim mails
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled
2024-01-21 16:07:11 +01:00

View File

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