Email format changed

This topic contains 7 replies, has 4 voices, and was last updated by  Kiran 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #443642

    Rafaela
    Full Member
    Post count: 131

    Hi guys,

    I have noticed that all emails we get in BCC but obviously also the system emails going to the customers do now have 0 padding on the left hand side, making then really difficult to read.
    I have gone back through the emails and this changed sometime between 09.06. and 19.06., not sure if I changed accidentally a GD setting or if this is a bug?

    Attached the emails before and after.

    Thanks!

    #443731

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GD emails are all text, but the description/body fields can certainly accept html and inline styles. No changes have been made to the rendering or default content, and they don’t contain any HTML by default.

    Some users have tried other 3rd party plugins to add formatting for emails, but there isn’t anything built in to GeoDirectory for that.

    #445601

    Markus Boettcher
    Expired Member
    Post count: 4

    I had the same issue. There appears to be a bug in /plugins/geodirectory/geodirectory-templates/email-message.php related to ltr/rtl and margin settings.

    I copied the file into the geodirectory template folder of my theme and changed:

    <html dir=”<?php echo is_rtl() ? ‘rtl’ : ‘ltr’?>”> to <html>
    <body <?php echo is_rtl() ? ‘rightmargin’ : ‘leftmargin’; ?>=”0″ marginwidth=”0″ topmargin=”0″ marginheight=”0″ offset=”0″> to <body>

    Now everything is as before

    #445729

    Kiran
    Moderator
    Post count: 7069

    Hi Rafaela,

    Please provide us admin credentials so we can take a look.

    Kiran

    #446209

    Rafaela
    Full Member
    Post count: 131
    This reply has been marked as private.
    #446235

    Kiran
    Moderator
    Post count: 7069

    Hello Rafaela,

    I have checked publish lisitng email with GMail account and it showing fine. So it is a email provider(GMail, Yahoo etc) how it showing email.
    But you can wrap message content by margin, padding ex:

    <div style="margin:10px;padding:10px"><p>Dear [#client_name#],</p> .......... <p>[#site_name#]</p></div>

    I have tested this with GeoDirectory > Notifications > Listing published email and it shows margins in email message (see attachment)

    Thanks,
    Kiran

    #447433

    Rafaela
    Full Member
    Post count: 131

    Hi Kiran,
    Thanks so much for this, it works!
    I don’t think this was our email program though as if I go back to messages pre June 2018, the GD emails showed absolutely fine.
    We have not changed our email program in June plus all other emails are absolutely fine, its only an issue with GD emails…

    Anyways, your additional code works, thanks very much for it!

    Rafaela

    #447438

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket