K-9 Mail stopped sending messages

Hi there.

I am using K9-Mail with a working configuration for a number of years. I can see that my last mail via our SMTP was sent on December, 6th. Looks as if there was an update after that.

Currently I can no longer send E-Mails using my configuration. I do not get an error message and the mail is not saved in “Sent” folder, it simply disappears.

About my configuration:

I am using a my own mailserver to retrieve mails from our domain’s mailserver. My mailserver stores and forwards mails to another mailserver I am using. So far working perfect.

I am fetching incoming mails with K-9 Mail from the 2nd server, but when I write or reply mails I am using the SMTP of our domain’s mailserver. This has been working for years and outgoing mails were all saved into “Sent” of the 2nd server. I have tested credentials and settings for the SMTP and checks within K9-Mail confirm proper config.

I have no idea what happened, I can only guess that an Update to the current V8.2 after December, 6th causes this problem.

All other mail accounts configured in my K9-Mail App do not show any problems.

Any ideas? Thanks for your help!

Michael

2 Likes

Welcome to the K-9 Mail forums.

What hosting provider operates your SMTP server? EIG/Newfold Digital brands are known to silently discard SMTP from K-9 Mail. You can search this forum for Hostgator and find relevant posts. If you don’t have access to your host’s SMTP server logs, you will need to engage their support to identify why they aren’t sending the email that you pay them to deliver.

That is a small german company. I do not belief that they do not send my mails, because other systems using identical credentials pass without any problems. I was just on the phone to them and they told me they do not even see my access to their SMTP.

Quick check on that account, and go through the Sending Email setup, as it does a check.

Settings | Account in question | Sending mail | Outgoing server | Next

If that works, the connection out should work. I can’t remember what a failure looks like, but you may see one here. Report back.

Hi OldieAB.

Thanks for your support. I already tried to explain that: “I have tested credentials and settings for the SMTP and checks within K9-Mail confirm proper config.”

Sorry, but being a “newbie”, I am not allowed to post the second screen.

Could is be possible, that Hostgator and my mail provider are using the same software to provide their service? Meaning the Hostgator problem is not a provider dependent problem, but a software dependent problem?

My mail provider reported that one of his customers had an equal problem short time ago, which was diagnosed on a Mac. Mail seems to have the option to insert a delay when sending messages to enable the used to cancel transmission. Per attached screenshot this delay has to be set to zero. As a matter of fact, I cannot find such option in K-9 Mail.

K-9 Mail currently doesn’t have an option to delay sending.

The app should display an error notification when a message failed to send. However, for that to work, you need to grant the permission to display notifications.

If the SMTP server didn’t accept the message for delivery, it should still be in the outbox folder. If it was accepted for delivery, K-9 Mail will upload the message to the designated sent folder. Make sure one is configured under Settings → [Account] → Folders → Sent folder.
There’s also a separate option to configure whether to upload sent messages. You can find it under Settings → [Account] → Sending mail → Upload sent messages. However, it’s enabled by default.

If none of the information above helps, please record a debug log while trying to send a message. The log should then contain information about what went wrong. See LoggingErrors · thunderbird/thunderbird-android Wiki · GitHub

1 Like

I have tried logging, but on

“adb shell pgrep -f thunderbird”

I get no reply. I am working under Debian 12.

Use “k9” instead of “thunderbird” if you have K-9 Mail installed.

--------- beginning of main
12-19 20:02:15.289 415 415 D InputMethodManager: showSoftInput() view=androidx.appcompat.widget.AppCompatEditText{a5c6239 VFED…CL. .F.P…ID 0,419-1080,649 #7f090223 app:id/message_content aid=1073741829} flags=0 reason=SHOW_SOFT_INPUT
12-19 20:02:15.302 415 415 I AssistStructure: Flattened final assist data: 7368 bytes, containing 1 windows, 30 views
12-19 20:02:15.302 415 415 W IInputConnectionWrapper: requestCursorAnchorInfo on inactive InputConnection
12-19 20:02:15.347 415 415 D InsetsController: show(ime(), fromIme=true)
12-19 20:02:15.349 415 415 D InsetsController: show(ime(), fromIme=true)
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.956 415 415 D TokenAutoComplete: Current completion text:
12-19 20:02:23.957 415 415 E PhoneWindow: Circular progress bar not located in current window decor
12-19 20:02:24.018 415 628 I MessagingController: Running command ‘clearNotifications’, seq = 27 (foreground priority)
12-19 20:02:24.092 415 415 W IInputConnectionWrapper: requestCursorAnchorInfo on inactive InputConnection
12-19 20:02:24.164 415 6901 V LockableDatabase: LockableDatabase: Transaction ended, took 2 ms / com.fsck.k9.storage.messages.SaveMessageOperations.saveMessage(SaveMessageOperations.kt:81)
12-19 20:02:24.170 415 628 V NotificationController: Removing some notifications for account 45c1c221-68a6-4285-92df-2f54186b21ec
12-19 20:02:24.173 415 628 V NotificationController: Removing some notifications for account 7f95fc22-1181-486a-a1b4-545f4b20b8d3
12-19 20:02:24.173 415 628 I MessagingController: Command ‘clearNotifications’ completed
12-19 20:02:24.173 415 628 I MessagingController: Running command ‘sendPendingMessages’, seq = 28 (background priority)
12-19 20:02:24.180 415 628 W MessagingController: Outbox does not exist
12-19 20:02:24.181 415 628 I MessagingController: Command ‘sendPendingMessages’ completed
12-19 20:02:24.458 415 6768 D OpenGLRenderer: endAllActiveAnimators on 0xb40000725a0850d0 (RippleDrawable) with handle 0xb400007169fb3f50

Looks like there was a problem that lead to a missing outbox folder. Please remove the account from K-9 Mail and add it again.

1 Like

Before doing so, are you aware that outgoing mail server is different from incoming mail server? Where would you expect OUTBOX to be? Can’t I resolve that issue by creating OUTBOX on the right machine?

The outbox is a local folder in app-private storage where messages are saved before the app had a chance to upload it to the outgoing mail server.

I checked the code just now. We added a “self-healing” capability for the outbox folder a while back, i.e. it will be created if it is missing (even though it is created when the account is first set up and there should be no way to remove the folder). Since that doesn’t seem to work, there’s a good chance your K-9 Mail installation is corrupted. It’s probably best to uninstall the app, then reinstall it.

(Corrupted installations are more common that one would think. I suspect it’s because the flash storage in a portable device can easily be exposed to very harsh environmental conditions).

2 Likes

Uninstalled, installed, imported saved setup, entered passwords: WORKING

Thank you for your help!

2 Likes