Ad Widget

Collapse

email massage action line break

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Prasad SL
    Junior Member
    • Jun 2022
    • 3

    #1

    email massage action line break

    Hi,
    I have email action.
    In custom massage field I wrote something like this.

    Line 1
    Line 2
    Line 3

    But, the email, I reciving something like this.

    Line 1 Line 2 Line 3

    I tried \n and \r line breaks, But no luck.
    Please help.
  • Answer selected by Prasad SL at 12-07-2022, 15:44.
    Prasad SL
    Junior Member
    • Jun 2022
    • 3

    Markku, Thanks for the support ..

    I got it.

    Line 1 <br>
    Line 2 <br>
    Line 3 <br>

    will do it. Thanks.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #2
      Are you using Outlook? It removes the line breaks in received plain text emails by default.

      See the fix options: https://docs.microsoft.com/en-us/out...-in-plain-text

      Markku

      Comment

      • Prasad SL
        Junior Member
        • Jun 2022
        • 3

        #3
        Markku, Thanks for the support ..

        I got it.

        Line 1 <br>
        Line 2 <br>
        Line 3 <br>

        will do it. Thanks.

        Comment

        • renatobeiriz
          Junior Member
          • Nov 2023
          • 20

          #4
          i have a problem to send message webhook from zabbix to glpi, and this topic help me
          before it was like this
          Click image for larger version

Name:	image.png
Views:	395
Size:	31.7 KB
ID:	492218
          and now is this
          Click image for larger version

Name:	image.png
Views:	347
Size:	26.9 KB
ID:	492219
          just <br> in the end of message

          Click image for larger version

Name:	image.png
Views:	342
Size:	24.7 KB
ID:	492220​​

          Comment

          Working...