$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Premature end of script headers: wp-mail.php?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Premature end of script headers: wp-mail.php?

matteradmin10PV0评论

I haven't edited wp-mail.php at all. I'm using the default WordPress file.

I'm trying the whole submit post by email function that we know in settings (using gmail and pop3, if that's relevant).

I try to test it by going to example/wp-mail.php

I get an internal server error after a while.

My server logs during this time are:

Warning 1.1.1.1 mod_fcgid: read data timeout in 45 seconds              
Error   1.1.1.1 Premature end of script headers: wp-mail.php

I'm using all 1's for my IP address just to show this example.

Any idea what could be causing this?

Thanks

I haven't edited wp-mail.php at all. I'm using the default WordPress file.

I'm trying the whole submit post by email function that we know in settings (using gmail and pop3, if that's relevant).

I try to test it by going to example/wp-mail.php

I get an internal server error after a while.

My server logs during this time are:

Warning 1.1.1.1 mod_fcgid: read data timeout in 45 seconds              
Error   1.1.1.1 Premature end of script headers: wp-mail.php

I'm using all 1's for my IP address just to show this example.

Any idea what could be causing this?

Thanks

Share Improve this question asked Jan 10, 2019 at 17:36 Best Dev TutorialsBest Dev Tutorials 4451 gold badge7 silver badges21 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Post by email does not work by accessing wp-mail.php.

You need to go to Settings > Writing on your website and enter POP3 credentials for whatever email address you plan to use. After that, any email you send TO that email address will be parsed and posted.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far