php - Add a blog by sending a mail to a certain emailadress -
for our friends-site want create function i, , friends, can send email special emailadres: weblog@domain.com. want use given subject blog-title , mail-body blog-entry. timestamp mail sent must become timestamp blog saved (at least timestamp must stored in database) , specified set of mailaddress can handled (so it's not public service).
but don't have clue how this. things done cronjobs , imap or something? i'm collecting thoughts on how realize this. i'm not asking provide working code suggestions on requirements nice.
a cronjob logs email address, downloads mail, , posts according time stamp.
you need:
- secret email address. sure it's secret because gets sent posted
- blogging engine can either manipulate externally, have decent idea of database schema looks like, or willing hack into.
- competent scripting skills
cronjobs particularly easy setup. surprised myself @ how simplistic is. decent tutorial.
Comments
Post a Comment