Git Product home page Git Product logo

Comments (11)

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

Hi,
what E-Mail client do you use?

from phpbu.

seremenko avatar seremenko commented on May 30, 2024

gmail

from phpbu.

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

The mail body in the current version is missing the whole <html> and <body> tags, maybe that's the reason. This is fixed in the master branch.

How do you use phpbu? Composer require, git clone, or PHAR?

from phpbu.

seremenko avatar seremenko commented on May 30, 2024

I use PHAR from http://phar.phpbu.de/phpbu.phar. Version 2.1.6

from phpbu.

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

I created a new PHAR from the current master branch.
http://phar.phpbu.de/phpbu-2.1-dev.phar
Could you try this with your gmail account.
In my desktop and mobile clients (Apple Mail, Windows Outlook) the E-Mails look "good".

from phpbu.

seremenko avatar seremenko commented on May 30, 2024

This is what I see now

screen shot 2015-09-03 at 2 09 03 pm

![screen shot 2015-09-03 at 2 09 13 pm](https://cloud.githubusercontent.com/assets/1233023/9666672/70ab407a-5245-11e5-843f-3b3197d7e2fd.png)

from phpbu.

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

This is the HTML I get via E-Mail.

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>OK (1 backup, 1 check, 1 crypt, 0 syncs, 1 cleanup)</p>
<table>
  <tr>
    <td colspan="4">backup Sourcecode OK</td>
  </tr>
  <tr>
    <td></td>
    <td>executed</td>
    <td>skipped</td>
    <td>failed</td>
  </tr>
  <tr>
    <td>checks</td>
    <td style="float:right;">1</td>
    <td></td>
    <td style="float:right;">0</td>
  </tr>
  <tr>
    <td>crypts</td>
    <td style="float:right;">1</td>
    <td style="float:right;">0</td>
    <td style="float:right;">0</td>
  </tr>
  <tr>
    <td>syncs</td>
    <td style="float:right;">0</td>
    <td style="float:right;">0</td>
    <td style="float:right;">0</td>
  </tr>
  <tr>
    <td>cleanups</td>
    <td style="float:right;">1</td>
    <td style="float:right;">0</td>
    <td style="float:right;">0</td>
  </tr>
</table>
<p>Time: 554 ms, Memory: 1.50Mb</p>
</body>
</html>

Looks like I have to create a gmail account for further investigation ;)

from phpbu.

seremenko avatar seremenko commented on May 30, 2024

It seems that style="float:right;" breaks table. Check highlighted TD tag and corresponding rendered element.

screen shot 2015-09-03 at 3 42 57 pm

screen shot 2015-09-03 at 3 44 39 pm

Without float attribute it looks much better. Try to align to right by align="right" attribute of TD. It should work everywhere correctly.

from phpbu.

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

You are so right float:right is just wrong.
The right style would be text-align:right.

I removed the style attribute and used the good old align="right" and updated the dev PHAR
http://phar.phpbu.de/phpbu-2.1-dev.phar

from phpbu.

seremenko avatar seremenko commented on May 30, 2024

Looks great. Thank you.

screen shot 2015-09-03 at 4 04 17 pm

from phpbu.

sebastianfeldmann avatar sebastianfeldmann commented on May 30, 2024

Thanks for your help.
I will release a new version 2.1.7 shortly

from phpbu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.