General Community > Off-Topic

PHP Cronjob --> Automatically submit newsitem via e-mail

<< < (3/4) > >>

YeShakka:

--- Quote from: frank on May 15, 2006, 02:33:35 PM ---
It is a PHP script which reads an POP3 or IMAP mailaccount.
I placed it as a wrapper modul on my page http://www.beyernetz.de



--- End quote ---

Simsi is a 50kB Weblog Application with exactly that feature. it is currently offline:
http://www.rowlff.de/simsi/

If I remenber, I will send you a copy of the code...

Edit:
I found the simsi application. You may download the attached archive and analyze if you can take some code from ist.

[gelöscht durch Administrator]

hudge:
I use the wordpress one and this is a great feature for letting others publish articles on your site with out having them access to your admin. I would suggest an option to allow to have them inserted either active or non active. I assume this would be feature in settings.

pcwacht:

--- Quote ---have them inserted either active or non active. I assume this would be feature in settings.
--- End quote ---

If implemented, think of mail admin new submission is done.... so he can activate it.

John

Woudloper:
Thanks for all the great responses! This is an area of PHP (with cronjobs, etc) that I have never used and it is completely new for me.

The idea's are sounding nice, but I think I am going for an easy solution if that is not to much work. I am going to install wordpress on a subdomain weblog.domain.tld and then I am going to give that a simular design as the original website. This way I don't have to do much PHP coding and can easily do something with a template for wordpress. Another point it saves me time when I do so as I don't have much spare time lately...

huwnet:

--- Quote ---you would need  POP3 or IMAP access to the email server to check your mail
--- End quote ---

If you have cpanel or direct server access then all you need to do is create a new mail account.

Pipe it to your php script. Then bin the mail so it doesn't take up to much space.

This means you won't need a cron.

The php script needs to be on the same server as the mailserver

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version