Discarding duplicate email address and setting error #70
Closed
Description
Hi
Thanks for creating this package, great work 👍
I wanted to know if is there any specific reason why you are not adding a duplicate email address in recipients and setting error on email also?
email.recipients, err = addAddress(email.recipients, address.Address)
if err != nil {
email.Error = errors.New("Mail Error: " + err.Error() + "; Header: [" + header + "] Address: [" + addresses[i] + "]")
return email