trim mails
This commit is contained in:
parent
f4cb051b84
commit
6a22811ad9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user