You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looping through a list of people to send emails to, using the same instance of FluentEmail and each person got all the previous peoples emails!
Turns out .To APPENDS to the list of To Addresses.
I thin this is a bug - the "feel" of setting to is to make To the ONLY addressee.
Appending would be a method like "AddRecipient", IMO
Fixed by prefixing all usages with
// .To APPENDS to the To List!
_fluentEmail.Data?.ToAddresses?.Clear();
The text was updated successfully, but these errors were encountered:
I was looping through a list of people to send emails to, using the same instance of FluentEmail and each person got all the previous peoples emails!
Turns out .To APPENDS to the list of To Addresses.
I thin this is a bug - the "feel" of setting to is to make To the ONLY addressee.
Appending would be a method like "AddRecipient", IMO
Fixed by prefixing all usages with
The text was updated successfully, but these errors were encountered: