bkaankose / Wino-Mail

Built-in Mail & Calendars app clone for Windows.
https://www.winomail.app/
GNU General Public License v3.0
638 stars 28 forks source link

[Bug] IMAP attached images not loading #337

Open brownhamer opened 2 weeks ago

brownhamer commented 2 weeks ago

Describe the bug I've configured an account on hccnet.nl using imap. Received messages with photos attached do not show these photos in the message.

Expected behavior Received emails with images attached should show these images with the mail.

horseshoe107 commented 1 week ago

Adding to this thread with a list of image-related issues I have found. These are all for v1.8.7

Bug 1: I found that the Insert -> Photos interface does not work currently. It opens the interface for selecting an image file, but after it is chosen the picture is not actually attached or inserted to the email. Workaround: Drag-and-drop still works.

For image insertion using drag-and-drop, the behaviour seems different for Gmail account vs Outlook account.

For Gmail account (no problem): The photo is embedded into the email. Where the photo is embedded does not seem to be controllable. It can be dragged around afterwards to rearrange it relative to anything else in the email (such as text). After sending, the email appears exactly as expected (with images embedded & displayed in position) within Wino Mail client, both from the sent side, and when received at another email address.

Bug 2: For Outlook account: The UI is exactly the same, but after sending, the images are not displayed. I tried to view the same email from different clients:

  1. In the Wino Mail client the "images" are embedded in position within the email, but they appear as file icons + file names similar to that shown in the screenshot from johanftg ( in #309 ).
  2. From Outlook and Gmail web clients the images appear in position, but only as file names.
horseshoe107 commented 1 week ago

I edited my above comment to separate Bug 1 and Bug 2. In v1.9.0 I confirm that Bug 2 is fixed for me (Outlook can send emails with embedded images). As the images are also attachments, the underlying bug is fixed by #350.

As Outlook is IMAP-based, it's likely the OP's issue is solved too.

Bug 1 is a separate UI issue, and still happens in v1.9.0

Tiktack commented 1 week ago

I am using gmail. It works fine. Don't wanna record a video, but I used a button, not drag/drop image

horseshoe107 commented 1 week ago

My apologies, it seems to be more of a corner case than I thought.

  1. If I choose to insert a file there's no problem. I can even select an image file and it will be attached.
  2. If I insert a picture from a "normal" location such as "C:\Users\\Downloads" is also fine, and the picture appears in the email as you showed.
  3. Trying to Insert->Photos from this location "C:\Users\\OneDrive\Pictures" failed. I tried to move the picture around to other locations under OneDrive and it also fails.

For case 3, the picture is also stored locally. I guess this will not be easy to solve.