What is this connector? 2.5mm pitch, I don't think the keying is quite right for JST?
It's from a Samsung dryer, if that helps
@Mayabotics I'm not sure the keying looks right for that?
@mjg59 Yeah, you're right. It's something very similar to it.
@mjg59 I don't think it's JST XA either.
@mjg59 The only JST type I can find that looks close is JST XA, so have a good look at that. https://www.jst-mfg.com/product/index.php?series=272
J.S.T. Mfg. Co., Ltd.

@mjg59

Early PSU to Mobo?

@SpaceLifeForm @mjg59 I am thinking it's these (or whatever these might be a clone of), especially since it has the same reddish cable retainer clip - CWB TJC25030: https://www.cwb.com.cn/products/consumer-electronics/wire-board-connector/taping-connectors/2-5mm-pitch/tjc25030/
FWIW: I actually narrowed this down to CWB using the Connector Book Identiconn tool, tho it pointed me at TJC20046 (wrong pitch, but same sort of thing), then had a look around CWB's site and found the above.
Connector Book Identiconn tool: http://connectorbook.com/identification.html
TJC25030 型条形连接器 Bar Connector - CWB

CWB
@cefiar @SpaceLifeForm That looks extremely plausible and also wow it is not easy to obtain those
@mjg59 @SpaceLifeForm Yeah. That said, I'm pretty sure there is a copy of it (or it's the copy), so it's a matter of finding out what that is.

@cefiar @mjg59 @SpaceLifeForm Is the generic form possibly JST XHB? AFAIK JST don't make them any more (or never did?) but widely available from usual places under name "XHB"

i.e. https://www.lcsc.com/search?q=xhb-6y&s_z=n_xhb-6y

(Also, thanks for posting that ID tool - looks really handy!)

@cefiar @mjg59 @SpaceLifeForm ... ah, I scrolled far enough to see the progression from "what is this connector?" to "this drier is dead" 
@projectgus @cefiar @mjg59 @SpaceLifeForm
I would have guessed Molex or AMP, but I've been wrong about connectors plenty of times.
1-1123722-0 : Economy Power Standard Rectangular Connectors

Get 1-1123722-0 Economy Power Standard Rectangular Connectors specs, pricing, inventory availability, and more from TE Connectivity. Get a sample or request a quote.

TE Connectivity