• Resolved RedAISkye

    (@redeyedrocker)


    Hello, I’ve tried customizing the email body formatting for login notification but it’s not working.

    I tried to create a new line with enter and tags but none of them work.

    If I also insert ‘ or ” then it will show something like \\\\\\\\\’ or \\\\\\\\\”

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor loginizer

    (@loginizer)

    Hello,

    We are sorry for the inconvenience caused.
    We are able to replicate the issue, the issue is because of sanitization as it adds /(slashes) if it finds ” or ` as it sees them as special characters, we’ve resolved the problem on our end. The fix will be available after testing on Monday.

    Thank you for reporting this issue to us.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    Thanks for the fix for special characters but I still can’t create a new line.

    How can I format the email with HTML?

    • This reply was modified 5 months, 2 weeks ago by RedAISkye.
    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Going to the next line should work, exactly how it works in any text editor by pressing the enter key, will it be possible for you to share an example of the template you are using, so we can test it on our end, as we are not able to replicate this new line issue.
    And we are sorry to say currently HTML is not supported, you can only use plan text.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    That’s why I did but in the email, there’s no new line.
    Here’s the screenshots showing the comparison:-

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Thanks for the screenshots, I tried the same template as yours and it is working as expected, please see the screenshot. I have tried it on multiple, Clients like Gmail, Zoho, and outlook and on all the clients it does have empty lines as we want.

    So it seems like the something is stripping the empty lines after Loginizer sends the data to wp_mail to send the email. Would you please tell us if you have any SMTP plugin enabled? And would you try to test the same email, on some other email client.

    Or you can try disabling all other plugins and then see if you face the same issue.

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    I checked the mail logs and it is stripped there, both the empty lines and html tags, so it is not a client side issue.

    I tested it with both GoSMTP and WP Mail SMTP individually and same issue, even tried with all plugins disabled.

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Would you please try the same template and send it using the Test option of GoSMTP and see if that strips the empty lines, it is to confirm if wp_mail is stripping the empty lines or not.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    Yes, only plain text seems to be having that issue.

    Other plugins that uses HTML for it works fine.

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Thanks for testing that out, it seems like wp_mail strips that, would you please tell us which version of WordPress you are on? Will look if there is a work around, else will add an option to send a HTML email.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    WordPress v6.5.4

    I’d prefer if the plugin just supports HTML email. Thanks!

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Sure we will add that, and thanks for the info. We will try to release a version by end of this week.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    Hi again!

    I’m also facing another issue, the error messages aren’t displayed at all in My Account page.

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Please try deactivating other plugins and see if that fixes the issue you are facing. If it does works after deactivating other plugins then enable then one at a time, and check after enabling which plugin Loginizer error stops working, as it could be possible that some plugin is overwriting over Loginizer.

    Regards,
    Loginizer Team

    Thread Starter RedAISkye

    (@redeyedrocker)

    @loginizer

    Hi, I figured out that disabling PageLayer plugin fixes the issue, but that’s my theme’s editor.

    This issue wasn’t present before and it may have occurred after a plugin update of Loginizer as PageLayer hasn’t received any updates since months.

    So, nothing has been changed except for the Loginizer plugin itself.

    Plugin Contributor loginizer

    (@loginizer)

    Hello,

    Thanks for trying it out. I looked into it and it looks like you are using shortcode to show the login form would you please confirm that, and if you are, then were you using it earlier too? When the errors where working?

    Because we tested with Popularfx and Pagelayer enabled and it was working for us, so we want to try the exact way you have implemented the page, to be able to reproduce the issue.

    Regards,
    Loginizer Team

Viewing 15 replies - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.