Email account configuration on your iPhone can be done automatically or manually. The simple instructions to set up email on the iPhone using both the automatic and manual methods are mentioned on this web page.
Setting up your email account on the iPhone automatically:
Setting up an email account on the iPhone manually: