Bam Posted October 30, 2005 Posted October 30, 2005 anyone got this to work with the mail service that is set up by default? (squirrellmail for example?) Quote
TCH-Bruce Posted October 30, 2005 Posted October 30, 2005 I tried this on a test blog and it works as advertised. 1. Create an email account to post to in your domain 2. Edit Wordpress to use the email address you want it to read 3. You must run the wp-mail.php file in your Wordpress install folder to have it capture the email from the account. (this can be set up to run in Cron periodically after you get it to pull in the email running it manually). One thing I found out is the body of the email will not be captured unless the email is sent in plain text format. You might want to read this Wordpress Wiki post Quote
abujenin Posted December 23, 2005 Posted December 23, 2005 Thanks for that. But I am having diffuclites with the corn job. I tried "wget http://mydomain/wordpress/wp-mail.php" every other minute, but it didn't work. I tried using "GET" instead of "wget" but that also didn't work. Quote
TCH-Rick Posted December 23, 2005 Posted December 23, 2005 Running the cron every other minute is excessive. I would suggest setting it to run every 10 or 15 minutes instead. The wget and get commands are disabled on the server for security reasons. You should be able to run the script using php -q /home/yourcpanelusername/public_html/wordpress/wp-mail.php. Quote
TCH-Bruce Posted December 23, 2005 Posted December 23, 2005 That cron job won't work because "wget" and "get" have been disabled for security purposes. Your cron job should look like this. >/usr/bin/php -q /home/your-cpanel-name/public_html/wordpress/wp-mail.php Change your-cpanel-name to your actual cpanel name. Also this relies on your blog being in a folder called "wordpress". Edit: Rob, Rick was quicker than me! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.