Okay
  Public Ticket #2556521
Break lines in notification emails
Closed

Comments

  • Stine started the conversation

    Hi,

    I'm experiencing a very annoying problem with the Amelia notifications.

    BREAK LINES

    When I want to write this, I want it to go like this:

    Kære John Doe,

    Vi beklager fejlen med forkert lokation i mailen i morges og prøver igen ;-)

    Vi glæder os til at se dig til Suit Salon d. 1. oktober 1776 kl. 08:42 på The Audo i Nordhavn.
    Adressen er Århusgade 130, 2150 København.

    Du finder os i The Audo's Concept Store, hvor vi også plejer at holde salon.

    Bedste hilsner

    SALONSALON

    However, it gets double break in the email like this (but not between the first two lines!):

    Kære %customer_full_name%,

    Vi beklager fejlen med forkert lokation i mailen i morges og prøver igen ;-)

    Vi glæder os til at se dig til Suit Salon d. %appointment_date% kl. %appointment_start_time% på The Audo i Nordhavn. Adressen er Århusgade 130, 2150 København.

    Du finder os i The Audo's Concept Store, hvor vi også plejer at holde salon.

    Bedste hilsner

    %company_name%

    (see attachment for exact copy)

    ... I need these notifications to look professional, today .. Please help. Tx

  •  2,572
    Aleksandar replied

    Hello Stine

    We're having some issues with the notification editor, and this will be fixed in the future.

    Until then, please go to your database, and in table "wp_options", under "option_name" column search for the term "amelia_settings". That will return only one row, so you need to edit it, and in the "option_value" column search for "notifications". Change it to look like this:

    "notifications": {
        "breakReplacement": "<div style='height: 0.1rem'><\/div>"
    },

    And that will correct the behavior.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables