compatibility with commentluv plugin.

I am trying to use The CommentLuv plugin by Andy Bailey and one of its modules is triggering an error.

Module: ReplyMe

Error: wp_mail returned fail for test send to support@supplychaincommerce.com

His question to me is>

it may be that the wp_mail() function has been overridden and it is not

returning the boolean value

I’ve seen that before with some setups, the emails still go through but the

function is not returning the proper value because not many things use the

return value

you just need to find out what is overriding wp_mail() in your plugins or

themes and let me know so I can see if there is a workaround

The only plugin I am using outside WPMUDev is CommentLuv and on my latest setup I did not install the WPMUDev commenting plugin to make sure their are no conflicts.

Can anyone please help me with this.

Louis

  • Vaughan
    • Support/SLS MockingJay

    hiya

    i’m not sure on this.

    have you tried an smtp plugin?

    to test wp_mail

    Try creating a simple template file in your theme folder, like so:

    call it test.php

    <?php
    /* Template Name: Test */
    get_header();
    // $headers = 'From: My Name <myname@mydomain.com>' . "rn\";
    wp_mail('myname@mydomain.com', 'The subject', 'The message', $headers);

    get_footer(); ?>

    Then create a test page using “Test” as the template. Preview the page (you shouldn’t see anything on the page, actually) and then check your email. If you still get nothing, uncomment the line with $headers (just delete the two // at the start of the line). Save the template, reload the test page, and check your mail again. If it now works, the problem is that there is no “from” address being set when wp_mail is being called elsewhere.

    hope this helps

  • Jack Kitterhing
    • Code Norris

    Hi there Louis,

    I hope you are well today and sorry for the delay on this.

    It looks like your host has disabled the mail() function, do you have full control over your server and the functions? If so we should be able to re-enable this or if not, you’d need to contact your host I’m afraid.

    You could also try a SMTP plugin like this here http://wordpress.org/plugins/wp-smtp/ and that should work :slight_smile:

    I’m here to help, please advise.

    Thank you!

    Kind Regards

    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.