Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Post your requirements here «   Is there a way to post content by email? «  

Comment: Is there a way to post content by email?

<< Previous Next >>
Hi Bernard, If you've already got a file which parses content in a given directory, why not setup the blog-by-email script like this then:
  • Use ProcMail or your .forward file, or "mail forwarders" in CPANEL, to pipe emails to a particular address to a PHP script. e.g. moblog@yacs.com -- "|/path/to/moblog/parser.php"
  • The parser script could be similar to the FTP blog parser you already have.
  • See Similar script for TextPattern.


The other method (the one you described) is safer, in that you can keep a backup of your email blogs in your inbox just in case something happens to your website. The method above however doesn't require a cron job and will get to work the moment an email is received.

by Eoin on Sep. 4 2004