You are here: Re: any ideas for sending out a basic newsletter « All PHP « IT news, forums, messages
Re: any ideas for sending out a basic newsletter

Posted by d on 10/08/33 11:38

"noone" <noone@nowhere.com> wrote in message
news:7JYCf.15119$_S7.8945@newssvr14.news.prodigy.com...
>d wrote:
>> "noone" <noone@nowhere.com> wrote in message
>> news:gRRCf.5251$2O6.4486@newssvr12.news.prodigy.com...
>>
>>>windandwaves wrote:
>>>
>>>>Hi Folk
>>>>
>>>>I want to send out a basic newsletter from my MySql database of
>>>>contacts.
>>>>
>>>>Does anyone know a nice and simple bit of PHP that allows me to do this?
>>>>
>>>>TIA
>>>>
>>>>
>>>>- Nicolas
>>>
>>>for server processing, I would say that PHP is the wrong tool for this
>>>job.
>>>1) time for processing email to nnnnnnnn addresses.
>>>2) time for processing email to nnnnnnnn addresses.
>>>.....
>>>
>>>What you probably would want to do - and there are security issues to
>>>deal with.. is have your PHP "admin tool" kick off a job that does this
>>>from the server...
>>>
>>>There are a number of mailing-list/list-servers out there that would
>>>handle this much better and run on many different platforms. (Linux,
>>>windows, UNIX, etc...)
>>
>>
>> All those tools would do is exactly the same that PHP would do - talk to
>> an SMTP server and send out emails. Just have your PHP script respect
>> the limitations of your average SMTP server (as in not fire off emails to
>> every address at once), and you'll be fine. Learn about mime headers
>> (especially multipart/alternative if you want to send html and don't know
>> who will accept it), and you can do it all in PHP without much fuss.
>>
>>
>>>Michael Austin.
>>
>>
>>
> again, use the right tool for the job at hand. While PHP can "talk" to an
> smtp server, I do not believe it is the right tool for the job. Kind-of
> like using a spoon to shovel the driveway. While it can do it, is it the
> right tool for the job. If it were one or two emails at the click of the
> mouse - fine, in fact I use phpmailer to do some things for me. But to
> send 50+ emails - it is the wrong tool. PHP is/was designed for user
> interaction via a browser. It can do things interactively via an
> interactive telnet/ssh session, but again is it the correct tool for the
> job. As a sysadmin/dba I would say no. And having 20+ years of
> experience supporting very large shops, (Linux, Unix 8 different flavors,
> OpenVMS, Windows, Oracle, DEC/Rdb, MySQL, SqlServer, Apache, IIS, iPlanet,
> OSU web server, php, html, xml, c, c++,java, cobol, smtp servers, (mime
> encoding included) etc...), I *can* say with some authority, that PHP
> might not be the best tool for the job.

PHP was designed initially for use in a web server, but it can equally be
used as a scripting language in any other way that scripting languages are
used. PHP is the perfect tool for mass-mailing, if used properly. I've
worked at companies that have used to to send thousands of emails, and it
works perfectly. The SMTP server doesn't care what's talking to it, as long
as it's talked to with respect (as in not hammering it).

You can say with some authority, but you'd be somewhat wrong on this
occasion. PHP is very useful for a host of jobs it wasn't initially
designed for. PHP has come a long way since php/fi, and mailing massive
amounts of emails is one of the jobs it can do incredibly well. Equating it
to a spoon is doing it a great disservice ;)

> Michael.

dave :)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация