Sending Newsletter

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
malu
Forum Newbie
Posts: 1
Joined: Mon Feb 05, 2007 3:17 am

Sending Newsletter

Post by malu »

Hi,

Im pretty new to swiftmailer.. i need to send a newsletter daily,weekly and monthly to some subscribers. I developed the content(HTML) , sorted the users and sends mail. using batchSend.Everything works fine, but now my concern is how to schedule this PHP calss to run daily,weekly and monthly. Is there any available php schedulers that execute other PHP scripts in the backend or do i have to follow the normal Scheduler in windows. i found out PHPJob Scheduler but it will run only if there r hits in the site. i cannot guarantee my site gets hit the same day when i want to send newsletter.

Any suggestions ..:)

Thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Does this have to be on windows? Linux has cron. Perhaps you can get cron for windows.

There's also phpcron which ~onion2k on this forum has linked to a few times in the past. Otherwise, windows Task scheduler will do the job fine, just set it to run as the system user so that it runs in the background.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

icron is available for Windows.
Post Reply