Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

how to write Auto Mail script in php

the mail() function

Moderators: macek, egami, gesf

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
stephenrodrics
New php-forum User
New php-forum User
 
Posts: 53
Joined: Thu Mar 14, 2013 6:10 am

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.
pbs
New php-forum User
New php-forum User
 
Posts: 39
Joined: Sat May 11, 2013 1:40 am
Location: Nashik, India

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.
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 stephenrodrics » Thu Aug 29, 2013 2:32 am

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


Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.