Bug #1041
<Mail>
| Status : | Closed | Start : | ||
| Priority : | Urgent | Due date : | ||
| Assigned to : | tobi - | % Done : | 0% |
|
| Category : | sidebars | |||
| Target version : | Maybe Someday | |||
| Resolution : | wontfix |
Description
This the first version of the code to post an article by email.
You need to create an email account dedicated to the post.
and to configure it in postfix like explained in http://wiki.rubyonrails.com/rails/show/HowToReceiveEmailsWithActionMailer
for exemple redirect a postfix user email to STDIN input of the script
/var/www/htdocs/.../rails/typo-2.5.5_FR/script/runner -e production 'Notifier.postarticle(STDIN.read)'
username : "|/var/www/htdocs/.../rails/typo-2.5.5_FR/script/runner -e production 'Notifier.postarticle(STDIN.read)'"
i used the first line of the body to add additional information#the first line of the body will contain additional info
#POSTOPTIONS|keywords:~|categories:~|text_filter:|allow_comments:|permalink:|published:draft,published(default),future::date|action:add(default) or remove or edit |POSTOPTIONS
#text_filter, allow_comments, and allow_ping use the default settings if not set
#if published not set use config
- default action: add a new article
- remove: find the article with the same title
- edit: replace the artcile with the same title
