• Resolved eliant

    (@eliant)


    I’ve been testing the plug-in, and I’m finding something strange; I’m wondering if it is a bug or a feature (that old MS Windows gag).

    I call wp_mail($address, "New article Test #3", "There's a new article, and it's NOTHING about sports."); and then look at the wp_posts table in the database. Hey! There’s a new entry with my email’s Subject as the post Title and the email’s Content is the post Content. FYI, post_status = ‘private’

    Is your plugin, Post SMTP, using the wp_posts table? Any chance you could clean up after yourself and delete these table entries after all the emails are transmitted?

    • This topic was modified 3 years, 9 months ago by eliant.
    • This topic was modified 3 years, 9 months ago by eliant.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @eliant Hi,

    Hope you are doing good.

    Let me look into it and get back to you soon.

    Thread Starter eliant

    (@eliant)

    Nevermind. I discovered the answer…

    Yes, for each email sent, a record is placed in the wp_posts table. They are the basis of the plugin’s log file. If you visit Post SMTP in the Dashboard you will see a tab for LOG. there you will see all those entries from wp_post showing details about the emails sent out. Also, you have the option of deleting all or selected log entries. So you can do your own “clean up”.

    Plugin Support M Haseeb

    (@haseeb0001)

    @eliant

    Great,

    thanks for updating us.

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

The topic ‘Plugin creates wp_posts entry?’ is closed to new replies.