Sent emails with attachments getting stuck in outbox

Hi, like some others, I’m getting emails with attachments getting stuck in outbox even after they have sent.

My email server is Gmail and I have slow ADSL connection. I’m on eM Client 7.0.27943.0, and Windows 10.

Typically this is what occurs…

  • The attachment is about 2MB
  • I click to send the message
  • I probably get an error about failing to connect to the server
  • The email gets sent at some point when the mail is synced again
  • It remains in the Outbox, but is also in the Sent box
    Thanks :slight_smile:

This is becoming a deal-breaker for me. I really like eM Client, its extremely capable and elegant, but I need to be sure that emails have been sent, and this bug leaves me uncertain :frowning:

Hello Jonathan,
if you get any error message when sending a message, please copy it.
Also copy the log from the tab Log in the Operations window after the error appears again. Just select all with Ctrl+A, copy and paste it here.

Hi Olivia,
Thanks for responding to this :slight_smile:
The issue seems pretty easy to reproduce. I’ve just created and sent an email with a 1.74MB attachment. The message went to the Outbox, remained there and showed up in the Sent box all within a minute. So that is the problem… the message is sent but remains in the Outbox.

During the process I do get an error message reading:

“… Connecting to [email protected] failed.
[SMTP] An attempt to connect to [email protected] failed. This could be caused by temporary server unavailability or incorrect settings. Do you want to check the settings?”

Log contents:

10:11:44 PM [email protected] [SMTP]  Connecting: To [email protected]
10:11:46 PM [email protected] [SMTP]  Connected: To [email protected]
10:11:46 PM [email protected] [SMTP]  Sending messages
10:12:22 PM [email protected] [SMTP]  MailClient.Accounts.SocketException: Sending messages failed due to the following reason:
10:12:22 PM     “Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”
10:12:22 PM    at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
10:12:22 PM    at MailClient.Commands.Command.Process(WorkerStatus status)
10:12:32 PM [email protected] [IMAP]  Synchronizing messages: For folder [email protected]/[Gmail]/All Mail
10:12:33 PM [email protected] [IMAP]  Synchronizing messages: Done

Many thanks :slight_smile:

Interesting followup observed (tested x 2)…

  • My test message to myself (with the attachment) then comes in to my Inbox
  • Its now showing the the outbox, sent and inbox.
  • Its showing as “Read” in the inbox even though a different message in the inbox is selected when it comes in
  • When I delete it from the inbox, it is also removed from the sent box (this surprises me)
  • There is one copy of the message in the trash
  • It remains in the outbox
  • I delete it from the outbox
  • There are two copies of the message in the trash (as expected)
    HTH
    Jonathan

Hello Jonathan,
the error seems to be just a normal timeout from the server.
However, by the connection with the server being broken, the message is saved in outbox and when it IS sent the server probably fails to get that information to eM Client so it does not remove it from outbox…the copy from Sent folder must be then synchronized from the mail server.

We’ll need to analyze the IMAP and SMTP logs.
Go to Menu>Tools>Advanced and set up IMAP and SMTP logs for your gmail account.
Restart eM Client.
Replicate the issue again.
Go back to Advanced settings and click ‘Send logs’
Change the recipient to [email protected] and add a link to this forum thread to the message too, please.

Thank you.

Regards,
Olivia

This issue kinda feels like there needs to be a longer timeout while eM Client waits for the server. I’m getting the issue consistently on two different ADSL connections… an ADSL and a faster ADSL2. However, when testing using a 4G hotspot (very fast) the issue did not occur.

BTW: eventually, the messages do seem to leave the outbox (I’ve observed 2 being cleared, but way after they appeared in the sent box)