Help me with this object reference error for vairable mail whiich i am using inside for each mail in mail messages

your variable value is empty

Please try to search for the error before posting the question so that we can avoid the topics to be duplicated. I hope we will have thousands of post for the same error.

Can you please try to check if the values you are passing is assigned correctly and the values are passing between the sequences. Whenever we pass an empty variable, we will get that error