Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending newsletter

Status
Not open for further replies.

wolf73

Programmer
Feb 12, 2006
93
CA
Hi,

It may be rather dumb question. I need to write a program that will send news letter every week. I am just wondering how do people normally do that. I will have to write a program that will run in a loop, read email addresses from the database and read the letter from the database and then shoot emails , right?
Or is there some other better / more efficient logic ?
 
Depends on where your addresses are stored. If they're in a database, then that's probably the way to go.

You could also set up a list server (that's what they're good at) and have your program send the message to the mailing list. This is what I do for a PHP program that sends out status reports and alerts.
 
Thanks ......what exactly is list server?
 
take a look at pear.php.net for some prebuilt mail handling classes.

a list server is some server process that handles sending bulk mail and also often offers secondary services like
automated topic listing
serving specific topics
unsubscribe etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top