Here's what you have to do:
* Select File > Account Settings.
* Choose your AT&T email account and then select Change.
* Confirm or enter the following IMAP or POP settings: ...
* Check or enter your User Name (full AT&T email address).
* In the password field, enter your secure mail key and select the Remember password checkbox.