• Hi. I’m trying to post via email. So I set cron to run wp-mail.php, but it doesn’t work, and gives this message.
    /home/user/public_html/blog/wp-mail.php: line 1: ?php: No such file or directory
    /home/user/public_html/blog/wp-mail.php: line 3: syntax error near unexpected token dirname'
    /home/user/public_html/blog/wp-mail.php: line 3:
    require( dirname(__FILE__) . ‘/wp-config.php’);’
    WordPress would be perfect for my site if I can use it with email. Everything else works fine. Can anybody help?
    Jay

Viewing 1 replies (of 1 total)
  • I seem to remember a solution where wp-mail was called using an include from index.php. That way, when anyone viewed your site, it checked for email.
    Sorry I can’t be more specific though….

Viewing 1 replies (of 1 total)
  • The topic ‘email posting & cron’ is closed to new replies.