Send Outlook Message: Given key was not present in the dictionary error

because you keep re-initializing the Config dictionary in each iteration of foreach, this assign should be BEFORE the “for each row” sequence, NOT inside it

image

like this
image

2 Likes