Anthony Weiner’s lurid communications from his latest sex scandal prompted the FBI to reopen its probe into Hillary Clinton’s private e-mail server — a bombshell development that rocked the presidential race Friday.

FBI Director James Comey told members of Congress in a letter that “in connection with an unrelated case, the FBI learned of the existence of e-mails that appear to be pertinent’’ to his probe.

A law-enforcement source told The Post the e-mails came from an electronic device seized from Weiner and his wife, top Clinton aide Huma Abedin, as part of the federal investigation of Weiner’s ­sext messages to a 15-year-old girl.

The feds confiscated four devices from the two, including a laptop Weiner used to send sleazy messages to the teenager.

They also found e-mails that Abedin either sent or received on the laptop they shared. The lead investigator in that case reported them to Comey.

Hillary Clinton blasted the release by Comey, claiming that nothing new would be found and he should be more forthcoming about the probe.

“The American people deserve to get the full and complete facts immediately,” Clinton said. “We don’t know the facts, which is why we’re calling on the FBI to release all the information it has.”

A senior law-enforcement official told NBC that the FBI director’s letter was sent to lawmakers “out of an abundance of caution.”

In a separate letter to FBI employees, Comey said “we don’t ordinarily tell Congress about ongoing investigations, but here I feel an obligation.”

He added: “Given that we don’t know the significance of this newly discovered collection of e-mails, I don’t want to create a misleading impression.”

Comey said that because months ago he had announced that the investigation was complete, he wanted to “supplement the record.”

The feds have not read the e-mails in question because the warrant they got for their seizure covered only Weiner’s messages.

They have to get a new warrant to read Abedin’s e-mails, NBC ­reported.

Abedin split from the disgraced ex-congressman in August after The Post revealed that he had sent lewd messages to the girl.

Comey said the latest e-mails — which were not sent by Clinton, according to CNN — would be checked to determine if they contained classified information.

“I cannot predict how long it will take us to complete this additional work,” Comey added, 11 days before the presidential election.

NBC News reported that many if not all of the e-mails may be duplicates of messages the feds already have access to.

Clinton learned of the startling development while flying to a campaign stop in Iowa.

She spent about 25 minutes on board after her jet landed in ­Cedar Rapids before emerging and then ignored questions shouted by reporters.

But her campaign chair, John Podesta, issued a blistering statement condemning Comey for ­reopening the probe so close to Election Day.

“It is extraordinary that we would see something like this just 11 days out from a presidential election,” Podesta fumed.

“The director owes it to the American people to immediately provide the full details of what he is now examining. We are confident this will not produce any conclusions different from the one the FBI reached in July” when Comey decided to not pursue criminal charges against Clinton.

Democratic leaders were stunned. “Good grief,” tweeted Democratic National Committee chair Donna Brazile.

Donald Trump applauded the FBI’s move, saying the political system “might not be as rigged as I thought,” during a campaign stop in Manchester, NH.

“I think they are going to right the ship, folks. Perhaps, finally justice will be served,” he said.

“Hillary Clinton’s corruption is on a scale we have never seen before,” added Trump, who has repeatedly hammered Clinton over her private e-mail server. “We must not let her take her criminal scheme into the Oval Office.”

Trump and many GOP lawmakers had earlier bashed Comey, ­accusing the FBI chief of letting Clinton off the hook.

The director was also taking heat from his own agents who disagreed with his decision not to prosecute Clinton, sources said.

House Speaker Paul Ryan said Clinton has to accept blame.

“Yet again, Hillary Clinton has nobody but herself to blame. She was entrusted with some of our nation’s most important secrets, and she betrayed that trust by carelessly mishandling highly classified information,” he said.

Clinton had been gaining ground in public polls following the release of footage showing Trump talking about groping women, and many analysts said his odds of winning the White House were plunging.

Analysts said the reopening of the e-mail probe was a gift to the GOP nominee.

“The damage has been done,” said Democratic strategist Jim Manley, a former top aide to Senate Minority Leader Harry Reid.

“House Republicans and/or the Trump campaign aren’t going to let it go for the next 10 days.”

The feds began to investigate Weiner, 52, after he sent a slew of sexual messages and shirtless selfies — including one showing him on a bed with his toddler son — to the teen.

With Post Wires