Support » Plugin: Post By Email » Create Cronjob

  • Hi,

    I will using the plugin “Post By Email” to import my posts from an Mail-Account into WordPress. Now I will using a Cronejob for the sync.

    When I using the wp-mail.php file in my root of the www share, I become the message “This action is disabled by administrator” (translatetd!).

    I need another URL for my cronjob?

    Thanks for Informations!

Viewing 1 replies (of 1 total)
  • Plugin Author Kat Hagan



    wp-mail.php is deprecated. To set up sync in a cronjob, you’ll want to create a new PHP file that triggers the ‘wp-mail.php’ action:

    do_action( 'wp-mail.php' );

    The file will also have to load WP, of course, otherwise you won’t have access to do_action(). So try something like this:

    do_action( 'wp-mail.php' );

    Let me know if that works, I haven’t actually tried it myself. 🙂

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