Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reply/Forward mails with inline images of the same name contain only the first image multiple times #4378

Closed
rcubetrac opened this issue Oct 30, 2013 · 6 comments

Comments

@rcubetrac
Copy link

Reported by huszti on 30 Oct 2013 15:22 UTC as Trac ticket #1489406

I don't now if this is really a problem of Roundcube but here comes the scenario:

  1. Sending an HTML mail with two images inline with the same name or pasted from the clipboard with Outlook 2003.
  2. Received mail with both images looks fine in Roundcube.
  3. Reply to or forward inline this message with Roundcube.
    (Two attachments with the same name ("Outlook.jpg" for clipboard images) are displayed.)
  4. In Roundcube sent mail folder the mail contains only the first image but two times.
  5. Received mail contains only the first image but two times.
    In Outlook there is one(!) attachment with the corresponding name which contains the second image.
    In GMX (couldn't try a different client by now) the mail looks the same but no attachment is shown.

The whole thing happens for more than two images as well.

Keywords: image, same name
Migrated-From: http://trac.roundcube.net/ticket/1489406

@rcubetrac
Copy link
Author

Comment by dennis1993 on 30 Oct 2013 15:42 UTC

Which RoundCube and PHP version do you use?

@rcubetrac
Copy link
Author

Comment by huszti on 30 Oct 2013 17:06 UTC

Sorry, I forgot.

I use a freshly installed Roundcube 0.9.5 on a Linux machine with PHP 5.3.3.

@rcubetrac
Copy link
Author

Milestone changed by @alecpl on 30 Oct 2013 18:00 UTC

=> 1.0-beta

@rcubetrac
Copy link
Author

Comment by @alecpl on 3 Nov 2013 11:47 UTC

The problem is in Mail_Mime package that does not support many inline attachments with the same name. We'd need a workaround. I'm working on this.

@rcubetrac
Copy link
Author

Comment by @alecpl on 3 Nov 2013 14:05 UTC

Fixed in e28b122.

@rcubetrac
Copy link
Author

Status changed by @alecpl on 3 Nov 2013 14:05 UTC

new => closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant