AT&T now requires more secure passwords for email clients. Your normal AT&T email password will still work when accessing AT&T webmail.
Go to att.com and click on Account in the upper right corner of the screen.
Left click Sign in on the menu that appears.
Enter your AT&T username and password on the screen that appears.
Click the Profile icon at the top of the screen.
Scroll down until you see Manage secure mail key.
Click Add secure mail key.
Assign a nickname to the secure email key. I would recommend the name of the application where the key will be used.
Once the nickname is assigned, click the Create secure mail key button.
Click Copy secure email key to clipboard. This will make it easier to paste the long string of characters into your email program.
A confirmation message will be displayed indicating the secure email key was successfully created.
You can now paste the secure email key into your email application.
You can also click the garbage can icon to delete any obsolete email keys.