how to write Auto Mail script in php

the mail() function

Moderators: macek, egami, gesf

stephenrodrics
New php-forum User
New php-forum User
Posts: 58
Joined: Thu Mar 14, 2013 6:10 am

how to write Auto Mail script in php

Postby stephenrodrics » Mon Aug 26, 2013 5:26 am

Hi,

I want to send a Reminder mail to a people group(mailing list) I am using php mailer classes to send mail.

how can i write a program to send Automatic Reminder mails every friday.

Thanks

pbs
New php-forum User
New php-forum User
Posts: 39
Joined: Sat May 11, 2013 1:40 am
Location: Nashik, India
Contact:

Re: how to write Auto Mail script in php

Postby pbs » Mon Aug 26, 2013 7:54 pm

you need to set CRON Job for it.

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: how to write Auto Mail script in php

Postby johnj » Tue Aug 27, 2013 5:27 am

On Unix flavored OS use cron job to run your reminder script (in php or bash or whatever you like). On a windows machine look for a scheduler to run your reminder code.

stephenrodrics
New php-forum User
New php-forum User
Posts: 58
Joined: Thu Mar 14, 2013 6:10 am

Re: how to write Auto Mail script in php

Postby stephenrodrics » Thu Aug 29, 2013 2:32 am

thanks


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest

cron