• Resolved John

    (@dsl225)


    Is there a way to make Postman the default email sending plugin for all other plugins?

    I use a couple of other plugins (related to user registrations) that have their own settings for choosing either the default WP PHP mail() function or by SMTP.

    I tested with both but it seems that always messages are sent out twice: one by Postman and the second by the other plugin.

    Is there a way to avoid this?

    I already set Postman to prevent other plugins to change the sender’s email name and address but that doesn’t solve the duplicate issue…

    https://ww.wp.xz.cn/plugins/postman-smtp/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    I tested with both but it seems that always messages are sent out twice: one by Postman and the second by the other plugin.

    Are you sure John? I didn’t think that was possible, because only one plugin can own wp_mail at a time.

    Is there a way to avoid this?

    Unfortunately, if the other authors did not use WordPress to deliver the email, and they built their own custom choose SMTP/PHPmail thing, there is no way Postman can intercept those emails.

    You will have to convince the other authors to add WordPress (wp_mail) as a mailing option. Most plugins already do this.

    Thread Starter John

    (@dsl225)

    Thanks for this.
    But when those other plugins offer the option to send their message either by PHP mail() function or by SMTP, which one should I use?

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Thanks for this.
    But when those other plugins offer the option to send their message either by PHP mail() function or by SMTP, which one should I use?

    SMTP will be more reliable the PHP mail, you can just copy the same settings you put in Postman into the SMTP settings for the other plugin.

    Thread Starter John

    (@dsl225)

    OK, thanks for this!

    Thread Starter John

    (@dsl225)

    FYI: there were no duplicates!
    Simply the test messages I’ve sent were sent to 2 different accounts: the one I put for testing but also the site’s main account.
    When checking the headers both have Postman’s signature somewhere.
    Sorry for the wrong alert…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to avoid duplicate messages?’ is closed to new replies.