|
Posted by noone on 10/12/59 11:38
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.
Michael.
Navigation:
[Reply to this message]
|