Here you can find a detailed manual how you can activate the SMTP authentification in Apple Mail.
Open the mail “Settings” via the menu:
Click “Accounts”
Under “Account Information”, click on “SMTP Server” at the bottom, and then on “Edit SMTP Server List”:
Click on “Extended”, and then on “Password” in “Identification”:
Enter the same access data as for the incoming server