iPhone e-mail setting

Having just got my shiney new iPhone I decided to set-up my e-mail on it. All was working fine, had my IMAP configured and was receiving e-mail with no problems. Then I decided to send an e-mail