Interesting. If I try this then everything works as expected.
thanks Mr. Wayne,
… is simple:
– I use Postie and the emails start from a form like “conctatct form”
– email have shortcode for the custom fields with the plugin “custom field shortcode”
– Last i use a modified version of Subscribe2 to send notifications … containing the custom fields.
So I need the post is created, but it becomes published after time ….. so Subscribe2 incorporates the content of the custom fields on the notification …
If the post is published in real time, the notification is empty
This is a particular case.
I solved the problem by modifying the code of Subscribe2 …
… i hope … I have to test it
Postie make scheduled post, only if i run it manual …. i will try http://postieplugin.com/enabling-debug-output …
thanks
Well …. i’m here.
I don’t able to find the debug.log.
it does not exist anywhere.
From test report:
Error log: /var/log/fpm-php.www.log
but it don’t have references to postie … only this:
request: “POST /wp-cron.php”) executing too slow
TEST
I post mail at 11.42 (is also the name of the post)
I check for mail manually, and this is the report:
Checking for mail manually
Starting mail fetch
Time: 2013-02-12 10:43:09 GMT
(…)
Predecoded subject: [prove tecniche] Salò – ore 11.42
Subject: [prove tecniche] Salò – ore 11.42
excerpt found: riassunto prova tecnica
before HandleMessageEncoding
charset:
encoding: 8bit
after HandleMessageEncoding
found delay: 5m
calculated delay: 300
post date: 2013-02-12 11:47:46 / 2013-02-12 10:47:46
lookup_category: prove tecniche
stdClass Object
(…)
Post postie_post filter
Array
(
[post_author] => 790
[comment_author] => Garda-Vallesabbia
[comment_author_url] =>
[user_ID] => 790
[email_author] => XXXXXXXXXXXXXXXXXXXXX
[post_date] => 2013-02-12 11:47:46
[post_date_gmt] => 2013-02-12 10:47:46
[post_content] =>
(…)
Therefore
Email: 11:42 with delay:5m
Postie manual check: 11:43
Post date: 11:47 (11:42 + 5m)
The post are published without scheduled
Now i have to try
http://postieplugin.com/forcing-an-email-check/
It looks like Postie is doing everything it should. The post_date and post_date_gmt are correct. Are there other plugins that modify the post?
No, only “custom field shortcode” that create custom fields
Now is active the external cron like …
http://postieplugin.com/forcing-an-email-check/
i check if there are difference.
Now the post is finally scheduled.
OK
BUT NOW there is the “old” problem of “missed scheduled” … but is an other problem.
… now i try to resolve it.
thanks