PHILADELPHIA (AP) -- Anthony Recker snapped out of his slump in a big way.
Recker hit a tiebreaking, three-run homer, Jonathon Niese pitched seven sharp innings and the New York Mets beat the Philadelphia Phillies 5-3 Monday.
Recker was in an 0-for-18 skid when he connected off reliever Justin De Fratus, who had retired 17 straight batters before allowing a single to the first batter he faced after replacing David Buchanan in the seventh.
"It felt great. I needed it real bad," Recker said.
The backup catcher is from nearby Allentown, but his family and friends didn't see him play this weekend.
"They were here (Sunday)," Recker said. "They came to the wrong game."
Darin Ruf hit a two-run shot for the last-place Phillies.
Niese (6-8) gave up two runs on five hits to earn his first win since June 28. The lefty was 0-4 with a 6.04 ERA in his previous five starts.
"It seems that I lose with my good stuff and win with my bad stuff," Niese said.
Buchanan (6-6) allowed three runs and four hits in six-plus innings.
Buchanan ran into trouble when he walked Juan Lagares to start the seventh. Matt den Dekker lined an RBI double to right-center to tie it at 2. De Fratus entered and gave up a single to Wilmer Flores.
"That late in a game, you can't walk guys to start an inning," Buchanan said.
Recker then hit a full-count fastball 424 feet into the left-center field stands to make it 5-2.
With two outs in the Phillies ninth, pinch-hitter Chase Utley lined a 1-2 pitch off Jeurys Familia deep to right. A fan reached over with his cap and lifted the ball into the air and into the stands. The hit was initially ruled a two-run homer, but was overturned to an RBI double following a replay.
Ben Revere then flied out to end it.
The Mets took three of four in the wraparound series and are 13-3 in their last 16 games in Philadelphia.
The Phillies' bullpen had allowed one earned run in 24 2-3 innings before Recker, a .187 hitter, took De Fratus deep.
Daniel Murphy led off the fourth with a double to right and David Wright followed with an RBI single up the middle to give the Mets a 1-0 lead.
Ruf hit a two-run homer into the bushes behind the center-field wall to make it 2-1 in the bottom half.
Mets: Manager Terry Collins said closer Jenrry Mejia will continue to pitch despite a hernia. Mejia is taking medication for the hernia and hopes to wait until after the season to have it repaired. ... Rookie right-hander Jacob deGrom is likely headed to the disabled list because of tendinitis in his shoulder. He was examined in New York on Monday after experiencing shoulder soreness following his last start against Washington. DeGrom is 6-5 with a 2.87 ERA in 16 starts.
Phillies: Former Phillies catcher Darren Daulton was treated and released from a nearby hospital Sunday after falling ill at Citizens Bank Park. Daulton, who was diagnosed with brain cancer last year, participated in the team's alumni weekend.
Mets: New York returns home to open a three-game series against NL East-leading Washington on Tuesday night. Rafael Montero (0-2, 5.40) will be called up from Triple-A Las Vegas to start in place of deGrom.
Phillies: Philadelphia visits the Los Angeles Angels for a two-game interleague series. Right-hander Jerome Williams, claimed off waivers Sunday, will start Tuesday night against left-hander C.J. Wilson (8-8, 4.82). Williams was 2-5 with a 6.71 ERA for Texas and Houston this season. He set career highs in games (37), starts (25), innings pitched (169 1-3) and strikeouts (107) last season with the Angels.
SHOWING OFF THE ARM
Center fielder Lagares made a perfect throw to the plate to prevent Domonic Brown from scoring on Ben Revere's single with two outs in the seventh. Brown, who doubled as a pinch-hitter, was out by several feet on Lagares' one-hop throw.
Phillies second baseman Andres Blanco made an excellent play to rob den Dekker on a hard one-hopper in the fourth. The ball was already past Blanco on the right-field grass when he made a diving stab, got up and threw him out.