There have been a number of threads on the boards lately where people have been seeing the password prompt pop up when trying to send e-mails.
While the symptom is the same for many users, there are actually a number of possible causes.
Broadly speaking they fall into two categories.
1. Username/Password incorrect - The server sends a 535 Authentication details invalid 2. Authentication refused for other reasons - The server sends 525 Authentication denied
To find out more it's necessary to turn on E-Mail logging in a mail client and view the logs to see which error was returned.
The aim of this post is to show how to turn on logging in 2 popular email applications.
Microsoft Outlook Mozilla Thunderbird
Unfortunately mobile clients such as those in the Iphone and Android phones don't come with an easy option to do this. And while Windows Live Mail does include a logging option. I personally find more and more reasons NOT to use Live Mail.
When posting logs post as little as possible - as a rule it's only necessary to post the actual Authentication results line.
Outlook and Thunderbird both hide the password used in the logs, but a number of people who've posted logs from other sources in the past have actually posted their email address and password.
Click Advanced on the left side of the options panel
On the right side scroll down to other and click Enable troubleshooting logging (requires restarting outlook)
Click ok then close Outlook
Re open Outlook and try sending a mail.
Go back into options and turn off logging.
Note when logging is enabled you will get a warning when you start Outlook. clicking the warning will automatically turn off logging if you forget to do step 6 but the change will only take effect after Outlook has been closed.
To find the log file in Outlook 2016 do the following.
Open File Explorer
In the address bar type "%TEMP%\Outlook Logging" and press Enter
Double click Opmlog.log
The file will open in Notepad look for the following lines
The file makes no permanent changes to Thunderbird. The variables that turn on logging only work for the duration of the batch file.
Wherever the batch file is run from it looks for and if necessary creates a single folder tbirdlog in order to store the log file. It then sets the variables to turn on logging and starts thunderbird.
REM Check if there's a log folder already created
if exist %~dp0tbirdlog goto continue
REM If not then create it
echo creating log folder %~dp0tbirdlog
REM Set logging environment variables
Copy the above text into notepad and click save as
Choose the location you wish to save. The bat file can be run from anywhere. I have mine on my Desktop
Change the Save as Type to All Files (*.*) And type tbirdlog.bat as the filename
Go to the location you've stored the file and double click it.
The first time it's run you'll see a folder tbirdlog appear in the same folder as the bat file, The command window will close and Thunderbird will start up.
Try sending and close Thunderbird in order to save the log file.
Double click the tbirdlog folder to open it and double click tbird.log to open the file in notepad.
Again the main thing we need is the line in green.
Note: The bat file is 100% safe. I've put in a lot of time helping out on this board as a Superuser. I have no intention of ruining all that good work by distributing files that will damage anyone's systems. It makes no changes to the Thunderbird installation. I do intend to modify it to add timestamps as currently it overwrites the previous log file when run. But I will leave the original up if I do so.
Only use Helpful answer if your problems been solved.