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?
| Next >> |
Eoin,
I definitely have to add this function because we need it on our intranet for my job, not the moblog, but the blog by e-mail
Work to achieve this is planned but still not started. At the moment I have only started to look at other scripts to select among several options.
The design is quite simple:
Actually general mechanisms are similar to what has been put in place for ftp blogging. See agents/uploads.php to get an idea.
I definitely have to add this function because we need it on our intranet for my job, not the moblog, but the blog by e-mail
Work to achieve this is planned but still not started. At the moment I have only started to look at other scripts to select among several options.
The design is quite simple:
- messages have to be put into a mailbox readable through POP3 or IMAP4 protocols
- in the background, a script scans the mailbox, enqueues received messages and process each of them
- message headers are checked to avoid spamming
- message body is decoded depending of MIME type and its content is either stored in the database if it is an article, or saved as a file if this is an image
- if the message contains only one image, YACS will have to create an empty article around it
Actually general mechanisms are similar to what has been put in place for ftp blogging. See agents/uploads.php to get an idea.
by Bernard on Sep. 3 2004
