As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #2622380
Space between lines (E-Mail)
Closed

Comments

  •  3
    Mik started the conversation

    Hi

    Since several months this problem has been reported, what a pity that there is still no solution!
    I have followed the instructions and adapted the code in the database: 

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

    After that the notification setting in Amelia is reset and I have to set the email service again (Wordpress Email). 

    Then it resets the customized code in the database! How can I remove this ugly spacing from the emails? Please do an HTML editor, it can't be that difficult. 

    Thanks

  • Ian replied

    We are having the same problem in our system. This is annoying since the email are terribel

  •  2,576
    Aleksandar replied

    Hello again

    If all settings reset after you added this, you didn't do it correctly. Meaning, you probably overwrote a curly bracket, or something like that. For example, in the code you pasted there's no escape character for </div>, and it needs to be there.

    Notifications section in amelia_settings looks like this:

    "notifications":{
        "mailService":"smtp",
        "smtpHost":"smtp.gmail.com",
        "smtpPort":"587",
        "smtpSecure":"tls",
        "smtpUsername":"[email protected]",
        "smtpPassword":"yourEmailPassword",
        "mailgunApiKey":"",
        "mailgunDomain":"",
        "mailgunEndpoint":"",
        "senderName":"Amelia Test",
        "senderEmail":"[email protected]",
        "notifyCustomers":true,
        "smsAlphaSenderId":"Amelia",
        "smsSignedIn":true,
        "smsApiToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvd3BhbWVsaWEuY29tIiwiaWF0IjoxNjA0MzA5OTk4LCJlbWFpbCI6IndwYW1lbGlhdGVzdEBnbWFpbC5jb20ifQ.weAWysEOEnv6J_Uug9Brma4-bUS1FMXJzOQLXTXkV5E",
        "bccEmail":"",
        "cancelSuccessUrl":"",
        "cancelErrorUrl":"",
        "breakReplacement":"",
        "sendAllCF":true}
    

    There, you can see that "breakReplacement" is already there; so you simply need to add this between quotations:

    <div style='height: 0.1rem'><\/div>

    So, in the end it will look like this:

    "notifications":{
        "mailService":"smtp",
        "smtpHost":"smtp.gmail.com",
        "smtpPort":"587",
        "smtpSecure":"tls",
        "smtpUsername":"[email protected]",
        "smtpPassword":"yourEmailPassword",
        "mailgunApiKey":"",
        "mailgunDomain":"",
        "mailgunEndpoint":"",
        "senderName":"Amelia Test",
        "senderEmail":"[email protected]",
        "notifyCustomers":true,
        "smsAlphaSenderId":"Amelia",
        "smsSignedIn":true,
        "smsApiToken":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvd3BhbWVsaWEuY29tIiwiaWF0IjoxNjA0MzA5OTk4LCJlbWFpbCI6IndwYW1lbGlhdGVzdEBnbWFpbC5jb20ifQ.weAWysEOEnv6J_Uug9Brma4-bUS1FMXJzOQLXTXkV5E",
        "bccEmail":"",
        "cancelSuccessUrl":"",
        "cancelErrorUrl":"",
        "breakReplacement":"<div style="height: 0.1rem"><\/div></div>",
        "sendAllCF":true}

    That will correct the issue.

    Our developers are currently working on some priority tasks, so adding a HTML editor will be added in the future.

    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

  •  3
    Mik replied

    Hello Aleksander, thank you very much for your answer.

    This code was accepted. But it only minimizes the space between the DIVs but not between the <p> elements, see screenshot.

    But this is the bug I want to fix. Where can this be set?

  •  2,576
    Aleksandar replied

    Hi again Mik

    Unfortunately, at the moment, you would only be able to edit the notifications in the database table wp_amelia_notifications. For example, if Appointment approved email looks like this:

    <p>Dear <strong>%customer_full_name%</strong>,</p><p><br></p><p>You have successfully scheduled <strong>%service_name%</strong> appointment with <strong>%employee_full_name%</strong>. We are waiting you at <strong>%location_address% </strong>on <strong>%appointment_date_time%</strong>.</p><p><br></p><p><img src="http://localhost/current/wp-content/uploads/amelia/mail/490a0f1e13.png"></p><p><br></p><p>Thank you for choosing our company,</p><p><strong>%company_name%</strong></p>
    

    You would need to manually remove <p> and </p> and use only <br>.

    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