Yahoo Mail SMTP Server

Just wondering how does iphone or other smart phone can integrate w/ their SMTP for free? I have a Ubuntu w/ email client but Yahoo doesn’t provide free SMTP/POP server… really bizarre…