How to set other port of the SMTP in iPhone?

Please select your email account in “Setting”, and tap on “Outgoing Mail Server”. On the next page, you can change the server port of your SMTP server.
 
Desktop version