Sending E-Mail hourly.

the mail() function

Moderators: egami, macek, gesf

Post Reply
User avatar
New php-forum User
New php-forum User
Posts: 140
Joined: Sun May 11, 2008 1:40 am
Location: London, UK

Tue May 13, 2008 2:20 pm

Need more info.

What kind of email:
One with server status?
One with users registered in the last hour?
A Server backup?

It is however possible to run scripts at time intervals by using "cron jobs" (on a linux server).

If you have a control panel for your server (usually is you use shared hosting) this is usually easy to setup.
If it's a dedicated server then you would have to findout how to set cron jobs on your server using command lines.

On windows it would be done a different way and i'm afraid i can't help their.

When posting code to be reviewed please enclose it in the [ code ] [ /code ] tags as it makes it a lot easier for people to read as it correctly formats itself on screen.

    Click Here to Visit[/url]

    Post Reply