Search code examples
phpemailbackground-processmailer

build mailer process with php


Hi
I want to create a mailer with php that will use a qeue of unsent emails and send them one by one. I know how to build the mailer itself, but I don't know how can i let it run in the background on the server-side. I don't want to execute the script with a browser, but maybe as a background process/exe/scheduled task (The server OS is windows).
Hope you understand my question, my english is terrible :) Thank you!


Solution

  • I would say cron, but because its a windows box I'll say "task scheduler".

    http://msdn.microsoft.com/en-us/library/aa383614(v=vs.85).aspx

    http://support.microsoft.com/kb/308569