Viewing 3 replies - 1 through 3 (of 3 total)
  • Most likely, the page is parsed twice, which would cause the email to be sent twice.

    Perhaps you have a plugin that parses the post, perhaps something to do with SEO. Try, just temporarily, deactivating all your plugins except Insert PHP.

    Reload the page. Then re-activate the plugins one at a time, reloading the page after each reactivation.

    When you get two emails with a page reload, it’s likely that the latest activated plugin that is the one that’s parsing the page.

    Will

    Thread Starter mpedersen15

    (@mpedersen15)

    Looks like you are absolutely right! I’d tried disabling plugins before, but missed the SEO plugin I was using! Disabling that stopped the duplicate mail from being sent! Thank you for the help!

    EDIT: Any advice on how I can word around this issue? Thanks!

    My only advice for conflicting plugins, short of asking the publisher of the plugins to make versions for you, is to decide which is more important and use only that one.

    Will

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

The topic ‘Duplicate execution of mail() script’ is closed to new replies.