• Resolved johnelk

    (@johnelk)


    Using the plugin ‘Insert PHP’ I have this simple test code on a test page:

    [insert_php]
    $to=’[email protected]’;
    $subject = ‘test’;
    $text = ‘This is a message’;
    wp_mail($to, $subject, $text );
    [/insert_php]

    This produces 3 identical emails. I tried de-activating each installed plugin one at a time. Only when I deactivated Yoast did I then receive just one copy as expected. It’s puzzling.

Viewing 1 replies (of 1 total)
  • If you deactivate all non-Yoast plugins (so only the Yoast plugin is activated) and switch to a standard theme like Twenty Seventeen, does the issue occur? If it doesn’t, it means you have a conflict. You need to reactivate one plugin at a time and check if the issue recurs for every plugin reactivated. After all plugins are active, switch to your theme. This will narrow down the conflict to a specific plugin or a theme conflict.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple emails’ is closed to new replies.