Suppress Email notifications out of MarketPress

I would like to suppress the emails coming from market press, since we are using appointment+ to actually communicate. How do I do this?

  • Adam Czajczyk
    • Support Gorilla

    Hello Skye,

    I hope you're well today and thank you for your question!

    Currently there's no "out of the box" way to disable MarketPress confirmation e-mails but I suppose this should be doable. I'll need however to consult our developers. Let me please forward this to our 2nd-line support and once I'll receive an answer from them I'll pass that information to you here.

    Please note though that the developers response time may be a bit longer than ours here on support forum as they deal with a lot of complex issues on daily basis. That said, please keep an eye on this thread.

    Best regards,
    Adam

  • Jude
    • DEV MAN

    Howdy @skye1

    Hope you're keeping well !

    I don't see a simple hook we can use outside the plugin to do this, the easiest way currently is to edit a plugin core file, its not ideal as you may need to redo it on updates.

    Anyhoo here goes, take a back up and change this line.

    return wp_mail( $email, $subject, $msg,$headers,$attachments );

    TO

    return true;

    In this file at line number 64.

    wp-content/plugins/marketpress/includes/common/class-mp-mailer.php

    Hope that helps

    Cheers
    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.