Daily Piler Report blank

Issue #874 resolved
Clifton Grimm created an issue

Hello -

First off, MailPiler is wonderful! It fits our use perfectly.

We started with the OVA, but have since updated that image to 1.3.1 build 956.

Everything seems to working just fine, but I wanted to take a look at the daily report email - so I added the cron entry to send that.

However, when the email sends I receive the email with no body. The To:, Subject: and other header fields are intact, but there is simply nothing in the body.

I did some troubleshooting, and when I echo the output of the output buffer to the screen and run the daily-report.php manually, I see the expected HTML. When I comment that out and add some simple data to test the email, the email sends with no body at all.

I think the issue is somewhere in the send_smtp_mail function, but I cannot locate it.

Any thoughts?

Thank you!

Comments (15)

  1. Janos SUTO repo owner

    Hello, I'm glad that you like piler. The send_smtp_mail function is in model/mail/mail.php file.

  2. Clifton Grimm reporter

    I have looked through the function, but I do not see anything in the logs that would indicate why this email is blank.

    Is this a known problem? My daily email sends, but the body is entirely blank. Again, if I echo the output buffer to the screen, it contains all the data.

    Thoughts?

  3. Clifton Grimm reporter

    I replaced that file, but still the daily email is blank. It sends - just has no data in the body.

  4. Janos SUTO repo owner

    Try running it using the latest gui, eg.

    php daily-report.php --webui /var/piler/www2
    

    (or something like that).

  5. Clifton Grimm reporter
    • changed status to open

    Ok, even using the latest master branch, the delivered email body is blank - no data at all. Again, if I redirect the output to the screen and run the file again, I see what appears to be the correct html. Anything else to try?

  6. Janos SUTO repo owner

    Sorry for the long delay from my side. Perhaps try a different mail reader. Without seeing your email I can't tell what's wrong.

  7. Log in to comment