|Index > Scribe > Unable to send mail through 2nd POP3 account|
|Author/Date||Unable to send mail through 2nd POP3 account|
|I have two POP accounts, but I can only send from one of them. When I send from the other, I get the message:
Error: 553 You are not authorized to send mail as <email@example.com>
If I disable the first account and retry the send, it works. It fails when they are both configured.
|Check the log first... make sure you are actually using the right SMTP server. There are various settings to control the SMTP used. By default the client will use the SMTP server set in File -> Options -> Accounts -> Default send Account. But if you set "Only send through this account" in a specific account's Identity tab then that overrides the global default SMTP.|
|Yes, this was set incorrectly. When it was failing, it failed horrifically; it would: hang on shutdown, not send mail, delete all received email in the current session.|
When it was failing, it failed horrifically; it would: hang on shutdown, not send mail, delete all received email in the current session.
Owwww. Are they SSL connections? They are much more difficult to shutdown cleanly than a normal socket. Well they shouldn't be, but that is the current state of affairs.
|Yes, SSL via STARTTLS.|
Yes, SSL via STARTTLS.
Thus I shall have to attend to that code's cancel handling. The infrastructure is in place but it's not well used by the SSL socket code.
|Here's some more details on the issues during shutdown (to the best of my recollection):
- after selecting File-Exit, a pop-up would appear saying something like "Killing <connection> - wait..."; this would never shut down by itself.
- attempts to kill one of the Scribe processes with Task Manager cause the "Killing..." pop-up to go away but Scribe is still active and functional.
- when the other Scribe task is killed with TM, a prompt comes up to kill the Scribe process and it then terminates (deleting all changes to the folders or received emails created in this session).
|It looks like both accounts need to be configured as "Only send through this account." I had only one configured and it hung on shutdown after attempting to send. I set the second account and it got hung during shutdown again; after starting up, the setting was still cleared.
Another side effect of this hang is that the forward/reply icon next to the original email does not get set.
|This problem still occurs with v2.3.2. I noticed yesterday that the green send indicator was constantly on. When I shut down iScribe I discovered that it was hung and had to be killed through Task Manager. After restarting, all emails and changes to the database since Nov 26 were gone. I suspect that all of the emails that I sent since that time never got sent. Should I send you the connection log?|
Should I send you the connection log?
Yes that might give me an idea on what's going on. If I can't figure it out from the logs then ideally I'd like to log in via TeamViewer and see for myself what's going on, maybe try a few other different settings. Ultimately if there is a hole users are falling into I can adjust things so that it's fixed for others as well.
|I'm suspecting that the problem might be an Outgoing mail filter script which moves the mail into various "Sent" folders. I've disabled this filter for now. When I have time, I'll play around with this to see if I can duplicate the problem.
I just noticed that the connection.log file is absolutely huge (close to 2 GB) and contains details for every email received.