If I donate ready to eat food to a soup kitchen, or, even more directly, if I see 2 homeless men on the street on Purim and hand them each a sandwich and a drink, can that fulfill my obligation to give Mishloach Manot of food to another person AND a gift to the poor?
The Mishna Berurah (694:2) writes " ורשאי ליתן מאכל או מעות" but he doesn't make it clear (to me) whether that would be counted as both obligations (or only one or the other). He also seems to say that if I give food that is from my se'udah, that counts (but for which?) and the Sha'arei Teshuva speaks of giving either 3 eggs' worth of bread or the money to buy 3 eggs' worth of food
שאם נותן מעות צריך שיתן שיעור שיקנה ג' ביצים אוכל ואם נותן אוכלים צריך שיתן לו שיעור ג' ביצים מפת
Can 2 obligations be fulfilled through the single action here?