• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Email notification format has changed, missing word wrap

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    12
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Quazz Moderator
      last edited by

      Looks like the <br> tags are missing for the bottom details.

      x23piracyX 1 Reply Last reply Reply Quote 0
      • x23piracyX
        x23piracy @Quazz
        last edited by

        @Quazz said in Email notification format has changed, missing word wrap:

        Looks like the <br> tags are missing for the bottom details.

        Should be easy for @Tom-Elliott to fix.

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          https://github.com/FOGProject/fogproject/issues/140

          This same release just “tidies” up the email code. The basis behind it has not changed though.

          Particularly starting here in the diff:

          https://github.com/FOGProject/fogproject/commit/30415aee5a0533c0f828437f144ee11b6e3ef4a3#diff-950f32ffd810569339d2aba98781d6d2R271

          You can see each of the lines have new lines and about half of yours had the same new lines already created. You can play around with it if you’d like to see if anything can help correct it, but I assure you the new lines haven’t changed nor has the operation of sending the email, so this seems really odd to me.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • x23piracyX
            x23piracy
            last edited by

            RC25 still missing <br>

            alt text

            ║▌║█║▌│║▌║▌█

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @x23piracy
              last edited by

              @x23piracy I assumed it used html language to create emails, but it does not, it’s plain text. I looked over the code Tom posted and I can’t see anything out of place, so not sure what to think about this.

              x23piracyX 1 Reply Last reply Reply Quote 0
              • x23piracyX
                x23piracy @Quazz
                last edited by

                @Quazz oh sorry haven’t checked for plain but anyway for the upper part a line break is working why not for the rest of the email?
                This is not really important it’s just cosmetic.

                Regards X23

                ║▌║█║▌│║▌║▌█

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  I don’t use <br/> or <br> tags anywhere in the email.

                  All of them use the “new line” character \n (Including the top.)

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  x23piracyX 1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy @Tom Elliott
                    last edited by x23piracy

                    @Tom-Elliott said in Email notification format has changed, missing word wrap:

                    I don’t use <br/> or <br> tags anywhere in the email.

                    All of them use the “new line” character \n (Including the top.)

                    Yeah i understood that, was learning that while trying to open email source code while there is nothing of it, that means no html 😉

                    Regards X23

                    ║▌║█║▌│║▌║▌█

                    1 Reply Last reply Reply Quote 0
                    • x23piracyX
                      x23piracy
                      last edited by

                      Strange… i changed nothing just deployed a different computer and i see:

                      alt text

                      Whoot? 😄

                      ║▌║█║▌│║▌║▌█

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @x23piracy
                        last edited by Quazz

                        @x23piracy Looks this only happens with your Windows 10 1607 Office ProPlus image. Can you confirm?

                        edit: this could also be down to the mail client

                        x23piracyX 1 Reply Last reply Reply Quote 0
                        • x23piracyX
                          x23piracy @Quazz
                          last edited by x23piracy

                          @Quazz said in Email notification format has changed, missing word wrap:

                          @x23piracy Looks this only happens with your Windows 10 1607 Office ProPlus image. Can you confirm?

                          edit: this could also be down to the mail client

                          Hi, yes i just need time to deploy other images, don’t want to do this for fun being busy here with other work but i am sure i need deploy other images in the next days, i get back…

                          ║▌║█║▌│║▌║▌█

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          183

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project