here is the full solution for your hotmail account on your iphone
Hi,
does anyone know how to setup hotmail account on iPhone 4 so I can have mail in the mail app?
Also, when I get mail on the iPhone will it stay on the hotmail server ie. if I lose my iPhone will I have everything on the web hotmail?
Thanks
From self-experiment on my

iphone 4 'firmware 4.3' ((not jailbreaked)) :-
1- Go to "settings"
2- Choose "mail,contacts,calenders" from the menu
3- Choose "Add account..."
3- Then choose "other"
4- Choose "add mail account"
5- write ur name, email,password and hit next button(be sure to be correct password otherwise the popup messege will come out and tell you "cannot get mail for pop3.live.com")
6-just wait for verifying you will see (incoming Mail server & outgoing mail server) is already filled and then click done.
if not, read step 7
7- For incoming Mail server :-
host name: pop3.live.com
username: "your email"
password: "your password"
-For outgoing mail server:-
hit (smtp: smtp.live.com)
primary server:
hit (smtp.live.com)
server : turn it on
username: "your email"
password: "your password"
use SSL :------------------------->on
Authentication: Choose password
server port: 587
hit Done button
other smtp servers---------------->off
and then go back
For outgoing mail server:-
choose advanced
Delete Messeges (an option)
mean delete your old emails from your iphone only,choose what you want.
In incoming settings:-
Use SSL: turn it on.
Authentication: Choose password.
Delete from server: mean to delete your old emails from hotmail it self, choose what you want.
server port : 995
then go back
And finally hit Done button
congratulations you have done
please comment........................