Sending E-Mail hourly.

the mail() function

Moderators: macek, egami, gesf

monkquito
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Apr 13, 2008 11:07 am

Sending E-Mail hourly.

Postby monkquito » Tue Apr 22, 2008 12:05 pm

Hello,

Does anyone have any suggestion to write a script where e-mails can be sent every hour from the server?

Cheers
Garry

User avatar
AeroX
New php-forum User
New php-forum User
Posts: 142
Joined: Sun May 11, 2008 1:40 am
Location: London, UK
Contact:

Re: Sending E-Mail hourly.

Postby AeroX » 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.


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest