Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Email line break issues: What is the difference between two mail body fields?

Simple Membership Plugin › Forums › Simple Membership Plugin › Email line break issues: What is the difference between two mail body fields?

Tagged: email break line japanese

  • This topic has 3 replies, 3 voices, and was last updated 5 years, 8 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 15, 2019 at 1:15 pm #17620
    kotoko
    Participant

    Hello, thanks for the wonderful plugin and a support community.

    I wonder what is the difference between the Mail Body field of “Email Setting” and of “Send a Quick Notification Email To Your Members” ?

    I am asking this because I have a problem with line break in a recieved test email, especially when Japanese language is added to the field.

    I am testing resistration process (Confirm Account via Email) so that let me give you an example of the mail body of “Email Activation”.

    With default setting, email is delivered with line break successfully.

    【Input】

    Dear {first_name}

    Thank you for registering.

    To activate your account, please click on the following link (this will confirm your email address):

    {activation_link}

    Thank You

    【Output】

    Dear ▲▲

    Thank you for registering.

    To activate your account, please click on the following link (this will confirm your email address):

    domain.com?swpm_email_activation=1&swpm_member_id=9&swpm_token=●●●●

    Thank You

    However, with default setting plus message in Japanese, an email is delivered without line break.

    【Input】

    Dear {first_name}

    Thank you for registering.

    To activate your account, please click on the following link (this will confirm your email address):

    {activation_link}

    Thank You

    {first_name} 様

    新規登録をしていただき、ありがとうございます。

    アカウントを有効化まで、あとわずかです。

    下記のリンクをクリックしていただくと、アカウントが有効化されます。

    {activation_link}

    お手数をおかけしますが、よろしくお願いいたします。

    【Output】
    Dear ▲▲ Thank you for registering. To activate your account, please click on the following link (this will confirm your email address): domain.com?swpm_email_activation=1&swpm_member_id=9&swpm_token=●●●● Thank You ▲▲ 様 新規登録をしていただき、ありがとうございます。アカウントを有効化まで、あとわずかです。下記のリンクをクリックしていただくと、アカウントが有効化されます。domain.com?swpm_email_activation=1&swpm_member_id=9&swpm_token=●●●● お手数をおかけしますが、よろしくお願いいたします。

    In my guess, adding a message in Japanese affects the diffence.

    So I read some simple membership forum logs like these:

    • Unformatted emails arriving
    • Email don’t make new line (I understand plugins can cause bug.)
    • Textareas on forms display with an indent on first line()

    For theme conflict test, I changed worpdress theme from my current version(astrid) to Twenty Nineteen.
    But nothing changed.

    For plugin conflict test, I stopped some plugins like “contact form 7” or “WP Multibyte Patch”.
    But nothing changed.
    (For me, it is hard to stop all plugin because of lack of knowledge.
    When Contact form 7 plugin caused the similar problem, all I could do was just waiting. )

    Yet I found something interesting.

    While I was testing this(Send a Quick Notification Email To Your Members), I found I could add html <br> to the field of the mail body.

    And an email with default message plus Japanese version was delivered with line break sucessfully.

    【Input】
    {last_name} {first_name} 様<br><br>

    アカウントが更新されました。<br><br>

    下記のURLからログインし、更新内容をご確認いただけます。<br><br>

    {login_link}<br><br>

    よろしくお願いいたします。<br><br><br><br>

    Dear {first_name} {last_name},<br><br>

    Your account status has been updated! Please login to the member area at the following URL:<br><br>

    {login_link}<br><br>

    Thank You<br><br>

    【Output】

    ▲▲ ▲▲ 様

    アカウントが更新されました。

    下記のURLからログインし、更新内容をご確認いただけます。

    domain.com/login/

    よろしくお願いいたします。

    Dear ▲▲ ▲▲,

    Your account status has been updated! Please login to the member area at the following URL:

    domain.com/login/

    Thank You

    Still a problem is remained unsolved.

    After I discovered the difference, I tried adding html<br> to the mail body field of “Email setting”.

    However html<br> was disappeared soon after I clicked data save botton.

    So I am wondering what is the difference between the mail body field of “Email Setting” and of “Send a Quick Notification Email”?

    I hope I could use html <br> in the email body field of “Email Setting” as well.

    Best reagards.

    March 15, 2019 at 8:34 pm #17624
    The Assurer
    Moderator

    Within the “email body” section, only non-HTML (text) is supported.

    September 30, 2020 at 1:23 am #17627
    kotoko
    Participant

    Thank The Assurer for the reply.

    I have read that before so that I looked into wp_mail(text/plain, text/html)matters and then I added <br> thinking it would not work.

    I forgot to writing this:

    I texted these input&output in the mail body field of “Send a Quick Notification Email” at first.

    【Input 1】

    Dear {first_name} {last_name},

    Your account status has been updated! Please login to the member area at the following URL:

    {login_link}

    Thank You

    【Output 1】

    Dear ▲▲ ▲▲,

    Your account status has been updated! Please login to the member area at the following URL:

    domain.com/login/

    Thank You

    【Input 2】

    {last_name} {first_name} 様

    アカウントが更新されました。

    下記のURLからログインし、更新内容をご確認いただけます。

    {login_link}

    よろしくお願いいたします。

    Dear {first_name} {last_name},

    Your account status has been updated! Please login to the member area at the following URL:

    {login_link}

    Thank You

    【Output 2】

    様 アカウントが更新されました。下記のURLからログインし、更新内容をご確認いただけます。domain.com/login/ よろしくお願いいたします。Dear xx, Your account status has been updated! Please login to the member area at the following URL: domain.com/login/ Thank You

     

    I like Simple Membership plugin and all I can do is reporting what happened.

    Email format is crucial to build relationship with users.

    (I know this is off topic, but without-line-break-email-issue happened in Contan Form 7 Plugin before.
    After several months, it was solved. I don’t know it was because of WordPress update or plugin update or something else.)

    I hope the solution will be figured out.

    Best regards.

    September 30, 2020 at 1:31 am #21014
    admin
    Keymaster

    At the moment there is no email issue with the “Send a Quick Notification Email To Your Members” feature of the plugin. I have tested it myself.

    Normally, this kind of email formatting issues happen from another plugin (or a customization that you have applied to your site) messing things up.

    Do the following test:
    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy