How to email people through a site ?

Answer this question

  • How to email people through a site ?


Answer #1 | 23/12 2013 00:40
To send mail you use PHP mail() function. Now its best to install an already developed mailing list on your server rather then trying to make one yourself. To make that "automation" you would require to create a CRON JOB. A CRON JOBS run on server triggering a file based on how the JOB was programmed out. For example you tell CRON JOBS to create a function event, the event is to trigger daily.php Daily.php would connect to MySQL database get all data in array and process it via mail() function. Thus sending people daily e-mails or content.

Possible answer