Author Topic: JPG attachments never download  (Read 29913 times)

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #15 on: December 28, 2014, 02:22:28 pm »
...
Before answering please remember that Aqua mail managed to successfully download all images from emails sent by Outlook.

Drukman.

@drukman:
Your information is very useful to clarify your request.
Nevertheless please send a debug log to the developer of AquaMail beforehand. You couldn't get a reasonable response without knowing what is going on.
Thanks.
« Last Edit: December 28, 2014, 02:34:40 pm by mikeone »

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #16 on: December 28, 2014, 02:48:19 pm »
All
Here is an important update.

I just did something else:
1. Sent an email from Simple Mail (it's a Firefox add-on that acts as an email program)
2. Sent an email from outlook

...

One more fact needs to clarify:

Whereto did you sent this two emails?
(> who is your webmail provider?)

« Last Edit: December 28, 2014, 02:51:36 pm by mikeone »

drukman

  • Newbie
  • *
  • Posts: 21
Re: JPG attachments never download
« Reply #17 on: December 28, 2014, 03:00:34 pm »
My ISP is bezeqint but I believe it's irrelevant.

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #18 on: December 28, 2014, 08:44:48 pm »
My ISP is bezeqint but I believe it's irrelevant.

Thanks.
If you are logged in directly in your webmail account can you see all "embedded images" and "jpg attachments" in both emails -  sent from Simple Mail / Firefox "add-on" [1] and sent from Outlook [1]?

AND -  if not done already -;
Please send a debug log file to the developer as described in a previous post:
http://www.aqua-mail.com/forum/index.php?topic=3155.msg15175#msg15175

« Last Edit: December 29, 2014, 01:40:18 am by mikeone »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: JPG attachments never download
« Reply #19 on: December 29, 2014, 01:17:25 am »
Ahem. I'm the developer.

Let's do something simple first -- send a test message with JPEG attachments to kmansoft / gmail / dot / com.

It's entirely possible that this "add-on", not being an email app, encodes the attachments in some obscure way that I have not encountered before.

Once I have your test message, I will take a look and try to fix.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

drukman

  • Newbie
  • *
  • Posts: 21
Re: JPG attachments never download
« Reply #20 on: December 29, 2014, 07:37:39 am »
Ahem. I'm the developer.

Let's do something simple first -- send a test message with JPEG attachments to kmansoft / gmail / dot / com.

It's entirely possible that this "add-on", not being an email app, encodes the attachments in some obscure way that I have not encountered before.

Once I have your test message, I will take a look and try to fix.

Hi Kostya Vasilyev,
I believe this is the best way to tackle this issue.
I will send you an email from Simple Mail.
Title will be "Israel from outer space".
Yet for further analysis you can install the add-on on any Firefox client you have & test it again.
Drukman.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: JPG attachments never download
« Reply #21 on: December 30, 2014, 01:40:16 am »
Thank you, got it.

Working as expected.

Every single one of those images is marked with:

Quote
Content-Disposition: inline

And the message's top-level structure is:

Quote
Content-Type: multipart/related

This -- clearly and unambiguously -- means that the images are not attachments, but are embedded somewhere in message text (HTML).

They're actually not referenced anywhere in message text, but they are marked as such.

The developer of this Firefox add-on should spend some time reading the relevant documentation (RFCs), easy to find on the Internet. Or he could just send a message with a quality mail app or web mail (like Thunderbird or Gmail), and examine the message's source.

Or you could just forward him this:

For a message with attachments, the top-level structure should be:

Quote
Content-Type: multipart/mixed

And each attachment should have:

Quote
Content-Disposition: attachment


PS - thought I'd add something about "but it works with other apps".

There is a reason why there are technical standards for all kinds of things, including email messages.

It lets apps work with each other, without having to add workarounds in every app for every other app it might interact with.
« Last Edit: December 30, 2014, 01:41:51 am by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #22 on: December 30, 2014, 02:32:25 am »
@Kostya
Thanks for your verification and factual explanation.
Great app anyway.

@drukman
A friendly note from my side:
Please be a little more careful in the future with the use of:

"WHY ? WHY ? WHY ? WHY ? WHY ? WHY ? WHY ? WHY ? WHY ? WHY ?"
http://www.aqua-mail.com/forum/index.php?topic=3155.msg15158#msg15158
 
It may seem pushy for some. 8)

Nice evening to everyone.

Mikeone
« Last Edit: December 30, 2014, 02:37:22 am by mikeone »

drukman

  • Newbie
  • *
  • Posts: 21
Re: JPG attachments never download
« Reply #23 on: December 30, 2014, 04:08:19 am »

Yes mikeone you are correct - I am pushy.

Kostya Vasilyev - Simple Mail gets those emails to the server with the attachments. Your application fails in retrieving them while all other email clients succeed.

Thanks - (pushy) Drukman.


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: JPG attachments never download
« Reply #24 on: December 30, 2014, 12:57:47 pm »
>> Kostya Vasilyev - Simple Mail gets those emails to the server with the attachments

They are not attachments "on the server" (or anywhere else).

You sent me a sample message, the images are marked as "inline" (embedded) images. Not attachments.

NOT ATTACHMENTS

>> Your application fails in retrieving them

AquaMail processes those messages exactly the way it's supposed to -- based on the MIME headers in the message (and it has nothing else to work from).

THE HEADERS CLEARLY AND UNAMBIGUOUSLY INDICATE THAT THOSE IMAGES ARE INLINE (EMBEDDED), NOT ATTACHMENTS

>> all other email clients succeed

Some mail apps show embedded images -- where they should be (embedded in message text) -- and *also* as attachments.

Not all mail apps.

And I don't see the point of doing that -- it just looks messy.

But that's not what we should be discussing.

THOSE IMAGES, AS SIMPLE MAIL SENDS THEM, ARE MARKED AS INLINE IMAGES, NOT ATTACHMENTS

If you disagree, feel free to point me to the RELEVANT SPECS (RFCs), and stop this ALL OTHER MAIL APPS nonsense.

-----------------------

MIME messages (multipart messages with images, files, HTML content) is not a very difficult matter.

And yet it's amazing how many people who write their own code to send such messages GET IT ALL WRONG, MAKING ALL KINDS OF MISTAKES.

The developer of Simple Mail needs to FIX THIS IN HIS APP, SO THAT ATTACHMENTS ARE MARKED AS ATTACHMENTS.

He just needs to READ SOME DOCUMENTATION or LOOK AT MESSAGES SENT BY ANY MAIL APP and CHANGE TWO LINES OF CODE.

And then HIS APP'S MESSAGES WILL NOT BE MALFORMED LIKE THEY ARE NOW.


-----------------------


See? My keyboard has a CAPS LOCK too.
« Last Edit: December 30, 2014, 01:00:54 pm by Kostya Vasilyev, Aqua Mail »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #25 on: December 30, 2014, 01:08:12 pm »

Yes mikeone you are correct - I am pushy.

Kostya Vasilyev - Simple Mail gets those emails to the server with the attachments. Your application fails in retrieving them while all other email clients succeed.

Thanks - (pushy) Drukman.

@drukman
How about posting this issue directly to the developer from this not correct coded add-on which handles (encoding) the embedded images not as described by standard rules (RFCs)?
http://userlogos.org/forum/simplemail


PS - thought I'd add something about "but it works with other apps".

There is a reason why there are technical standards for all kinds of things, including email messages.

It lets apps work with each other, without having to add workarounds in every app for every other app it might interact with.

And again because of "all other email clients succeed".
Obviously not:
http://forums.mozillazine.org/viewtopic.php?f=48&t=2497499&start=180

Quote
Simple Mail 2.86.7 attachment not seen by recipient
i regularly have some recipients asking me to again send a mail, sent using SM2.86.7 (*), because they answer not finding the attached document.
I then have no other solution than to use the webmail facilities of my internet provider to resend the mail and its attachment; or also mailing a printed copy + stick stamps + bringing it to a Post office ... :D . Till now,I have been hating using another mail client than SimpleMail  :wink: .

And also again: Your request is not a bug in Aquamail..it's definitely a bug in this "simple (mail)" Firefox add-on. Therefore please address this issue where it can be solved and that's also definitely not here.

Thank you for your understanding.
Mikeone
« Last Edit: January 02, 2015, 06:29:05 pm by mikeone »

drukman

  • Newbie
  • *
  • Posts: 21
Re: JPG attachments never download
« Reply #26 on: December 30, 2014, 01:32:27 pm »
Lets focus only on what happened:
Aqua mail failed to download images that Microsoft outlook downloaded ok. Simply failed.
Following your recommendations I decided to post this issue directly to the developer of  Microsoft outlook which handles the embedded images not as described by standard rules (RFCs).
Remember - according to you guys they are not following the RFC ! Following your logic they should explain why ! Following your logic they should FIX outlook ! Currently they are bad boys !

Again in order to clarify.
Simple Mail in my case does very good job & never fails in sending the email.
It's Aqua Mail that fails getting them.

One last thing....
Kostya why do you use so much red in your writing ?
It feels a bit Pushy to me.  ;)

Drukman.

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: JPG attachments never download
« Reply #27 on: December 30, 2014, 01:39:30 pm »

Again in order to clarify.
Simple Mail in my case does very good job & never fails in sending the email.
It's Aqua Mail that fails getting them.

Drukman.

Sorry but you are wrong again "never fails in sending..."
http://forums.mozillazine.org/viewtopic.php?f=48&t=2497499&start=180

And also your decision is wrong to post this issue directly to the developer of Microsoft outlook:
The Firefox add-on is the app which definitely fails!
« Last Edit: December 30, 2014, 01:45:06 pm by mikeone »

andrewilley

  • Jr. Member
  • **
  • Posts: 91
Re: JPG attachments never download
« Reply #28 on: December 30, 2014, 01:51:15 pm »
Simple Mail in my case does very good job & never fails in sending the email.

No, Simple Mail does NOT do a very good job in this particular case - it uses invalid encoding as Kostya has explained to you (and very patiently I might add). Just because some other programs re-interpret this incorrect coding and find a way to handle it does not make it (or them) correct.

AquaMail's approach of ignoring images that are marked specifically for inline-only use until such point that the document requests that they be inserted is absolutely the correct way to handle them according to the spec.

Now, if you rephrase your demands along the lines of "I know these emails are not being generated correctly, but until that fault can be fixed I wonder if some sort of workaround might be possible" then you might get somewhere. However as Kostya points out, you are complaining about an app which is working exactly as the spec requires it to, instead of complaining about one which does not.

Andre

drukman

  • Newbie
  • *
  • Posts: 21
Re: JPG attachments never download
« Reply #29 on: December 30, 2014, 01:57:38 pm »
mikeone - you are wrong again.
Read carefully....
In my case only Aqua Mail fails. It's only Aqua mail that fails.

P.S.
Just got an answer from Microsoft.
According to them Aqua Mail should be fixed.
They can't understand what is it that you guys want from them.
"RFC's or IEEE out application works so what those Aqua Mail people want from us ?"
"It's Aqua Mail not working so why don't they do anything about it ?"

I always thought Microsoft people are funny.
How come they don't get it that their application isn't following the RFC and.....simply works.
Drukman.