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

Format email registration

Simple Membership Plugin › Forums › Simple Membership Plugin › Format email registration

  • This topic has 9 replies, 3 voices, and was last updated 10 years, 10 months ago by dgirona.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • June 22, 2015 at 12:17 pm #2125
    dgirona
    Participant

    The email that arrives after the registration is not formatted . No <br/> .

    Out all text on the same line .

    Can someone help me out?

    Thank you.

    June 23, 2015 at 5:41 am #2132
    admin
    Keymaster

    This is likely been caused by a plugin conflict. Please do a plugin conflict test (by deactivating the plugins one by one to see which one is messing up your mail body formatting).

    June 23, 2015 at 7:02 am #2133
    dgirona
    Participant

    Hello. I disabled all plugins and I have the same problem. Any ideas?
    It happens with all email programs and webmails (gmail, hotmail). Thanks.

    June 24, 2015 at 7:22 am #2139
    dgirona
    Participant

    Help please!

    June 24, 2015 at 10:16 am #2141
    dgirona
    Participant

    The solution:

    In all function wp_mail implement nl2br() & specify headers :

    …
    $body = $settings->get_value(‘reg-complete-mail-body’);
    $body = nl2br($body);
    …

    $headers = ‘From: ‘ . $from_address . “\r\n”;
    $headers = “MIME-Version: 1.0\r\n”;
    $headers.= “Content-Type: text/plain;charset=utf-8\r\n”;

    ; )

    June 25, 2015 at 12:36 am #2145
    mbrsolution
    Moderator

    Hi did that solution work for you?

    June 25, 2015 at 6:43 am #2146
    dgirona
    Participant

    Yes, you must use the function:

    $body = $settings->get_value(‘reg-complete-mail-body’);
    $body = nl2br($body);

    More info:

    http://php.net/manual/es/function.nl2br.php

    And it considers specifying the http header:

    $headers = ‘From: ‘ . $from_address . “\r\n”;
    $headers = “MIME-Version: 1.0\r\n”;
    $headers.= “Content-Type: text/plain;charset=utf-8\r\n”;

    Hopefully this is fixed in future versions.
    And the possibility of the mail in HTML format is implemented.

    I sought a trial version of the plug in membership-form-builder-addon.

    https://simple-membership-plugin.com/simple-membership-form-builder-addon/

    Someone can tell me how to get it?

    Thanks.

    June 25, 2015 at 6:52 am #2147
    mbrsolution
    Moderator

    Hi, thank you for the information. There is no trial version of the Simple Membership Form Builder add-on. If you purchased the add-on from the website you mentioned above then it is an original copy.

    June 25, 2015 at 7:00 am #2148
    dgirona
    Participant

    Ok, a shame not to try the addon : )

    June 26, 2015 at 9:46 am #2163
    dgirona
    Participant

    As I can access the value of a field user to log in from php?

    I want to show additional data in the reservation page to users.

    Eg company.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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