Support » Plugin: SB Welcome Email Editor » [Plugin: SB Welcome Email Editor] Plugin removes formatting on comment mails

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sean Barton

    (@seanbarton)

    Hi boborg,

    This is done because it sets the type of email for the entire system to the setting that you have chosen on the welcome email editor settings page. I’m thinking this wasn’t a good idea systemwide so am going to remove it shortly. The code yo need to remove or comment out for now is the following:

    if ($send_as = $sb_we_settings->header_send_as) {
    if ($send_as == ‘html’) {
    add_filter(‘wp_mail_content_type’, create_function(‘$i’, ‘return “text/html”;’), 1, 100);
    add_filter(‘wp_mail_charset’, ‘sb_we_get_charset’, 1, 100);
    }
    }

    It will fix the comments emails. I presume by ‘lost formatting’ you mean that the paragraphs all mould into one.

    With regard to the lost password link.. I shall get a fix out in the next few hours. I imagine that I neglected to put the hook into place for you to use in the settings. I may also make a toggle to turn off my plugin overriding the default forgot password email.

    Watch this space.

    thanks
    Sean

    Plugin Author Sean Barton

    (@seanbarton)

    Hi,

    I have added an option called ‘Set Global Email Headers’ which will allow you to turn off the feature which is causing your comment emails to come from the wrong email address. Hopefully this clears things up. Additionally I have lowered the priority of those functions so the likes of WP can override it with the actual from address and name.

    To get the link in the reset password you need to add it into the body text using the hook [reset_url]. If this isn’t working for some reason then let me know. Perhaps contact me directly for a faster response… barton.sean@gmail.com or Skype sean_barton.

    thanks
    Sean

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SB Welcome Email Editor] Plugin removes formatting on comment mails’ is closed to new replies.