Just go to Mail>Preferences>Accounts and delete (–) the account BUT FIRST, in the settings for the account, click on "Outgoing Mail Server", select "Edit SMTP Server List" and delete (–) any servers that are in that list.
If you let us know your email provider we can help you set it up properly.