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
PDFReports: Broken Email Attachment in 1.4 #2456
Comments
With thunderbird 3.1.10 I see the message
and can download the pdf file from the mail and open it. Have you checked with a webmail or a different mail client ? Have you tried sending it in HTML ? If your report doesn't contain sensitive data you could forward it to piwik-hackers@piwik.org. (the best would be to temporarily add piwik-hackers@piwik.org to the list of destination email adresses and manually send it because forwarding can temper the mail). |
I had piwik send a report to piwik-hackers@ containing some "uncritical" statistics. I'v checked the report mail via horde webmail. Horde tells me, the attachment is 0kb - which is not true, as it has several kb of data in the mime attachment part of the mail, which I can see using an editor. My 1st guess: someting wrong with the MIME headers? Let me know if I can do some furter tests. |
For the record: the HTML version works just fine. PDF generation is not an issue as I can download the PDF in der piwik backend. |
Unfortunately I did not receive the mail, how about the other developers ? |
Maybe the sender address has to be registert to the piwik developer list? I'll be happy to send the report to a different address, if needed. |
I didn't get it either. Not sure if piwik-hackers @ piwik.org is even a valid alias. Try hello @ piwik.org instead. |
Report send to hello@... |
Mail received. Is it possible for you to try another SMTP server (from a different provider) to see if it is tempering the mail ? |
It's my own server running a plain vanilla qmail. I don't have a different mailserver at hand at the moment. I'll set up an other one if needed but I don't think the mailserver is the problem. Befor the upgrade from 1.3 to 1.4 the server delivered the pdf reports just fine. |
If you're not using the SMTP settings, (in your case) php will use the sendmail wrapper for qmail. Since qmail strictly expects CRLF and we're seeing =0A in the message body, this could explain the malformed attachments. That said, Piwik uses Zend_Mail, and this should be working per ZF-1944. See http://www.dt.e-technik.uni-dortmund.de/~ma/qmail-bugs 6.2 for a qmail workaround and fix. |
Thanx for pointing out the qmail issue. I activated teh SMTP settings as stated in I wanted to try an external mail server (running exim) and stumbled across an other issue: the piwik SMTP dialog does not accept certain charakters like "#" or "+" in the user name. Aufter saving they are replaced by white space. Unfortunately my user contains an "+", so I could not test yet. Should I open an other Bug for this? |
I just created a gmail account and used Goolges SMTP to send the report. I included hello@ ... to the list fyi. As it seems, the issue still remains :-( |
Just received it (Mon, 30 May 2011 20:20:02 +0200) and the pdf file is readable. |
Interesting ... qmail messes up the attachment receiving (!) the report mail as well. So I will look into qmail. But IMHO this still remains an issue as I wont't be able to tell others "use a different MTA if you want a report" ;-) |
Is this really an issue? it works for nearly everybody so I tend to think it's a software vendor issue, but please feel free to comment (or better, submit a patch ;) and we will reopen |
Since the upgrade to 1.4 the email report seems to send empty mails. Thunderbird 3.1.10 shows an attachment, but there is non visible content, when the mail is open. The source code of the email reveals however, that the mail content is present:
Tested with Thunderbird 3.x on different computers.
I can download the pdf just fine via the backend.
The text was updated successfully, but these errors were encountered: