Identical accounts behave differently
I have been working on this weird problem for two days now. I have a PHP application that creates a PDF file and then emails it as an attachment. In my Thunderbird client (v24.5.0) I have four accounts which are set up identically apart from the mail server, username, password, etc. In fact everything else is default. When I send the email to two of these accounts, it arrives as intended, with the PDF attachment. When I send the email to the other two accounts (the same ISP) there is no PDF - I get embedded binary instead. I closed down the client, sent the email to one of these latter addresses and used the ISP's webmail to see what was on the server - the PDF was there. I restarted Thunderbird and downloaded - no attachment! I then downloaded a different client (Sylpheed) and configured it for one of the offending addresses - the email arrived with the PDF intact. I had left the email on the server. I then forwarded the email with the attachment to myseld at the same address and closed down Sylpheed. Back in Thunderbird I received 2 emails - the original with no attachment, just binary embedded, and the same email forwarded via Sylpheed which does have the attachment. I downloaded TB Lite and get the same result - no PDF, just embedded binary. Can anyone explain to me this different behaviour with identical accounts in the same client (and how to fix it)?
Všechny odpovědi (4)
set mail.server.default.fetch_by_chunks to false in the config editor and see how you go. Some mail servers are not entirely truthful about attachment sizes.
Hi Matt,
Thanks for trying. changing mail.server.default.fetch_by_chunks made no difference. I doubted that it would as one of my tests was to send the email to a different address form which I forwarded it to the account in question, the email passing through that same server and arriving with the attachment. It's only when the email is received directly from source (via that server) that I have the probem.
Mark
I had my doubts that is would be helpful, but you sounded like you had tried about everything
Painful, but the only way i see to get to a result is open two identical mails, one successful and the other a failure in notepad and check for what is different. Paying particular attention to the mime types.
Hi Matt, I've been out of action for a while and have just returned to this problem. I've sent the same PDF to two of my email addresses - one worked, the other didn't - the PDF ended up as binary in the body of the email. I can't see where the headers differ so I've put them on my server:
http://blackpixel.com.au/site/failed.txt and http://blackpixel.com.au/site/succeeded.txt
Can you spot anything?