For PHP/Apache to send emails, you only have to have a working SMTP service
on your Linux box. You should, in theory, be able to run it locally if you
can send mail using "sendmail" command in linux.
The issues you could run into are:
1. Your ISP blocks you from sending mail other than via their SMTP server
(this is a new trend).
2. You may have to configure your firewall settings on your Linux box.
3. Your hosting company, pair.com, may use a different version of SMTP,
different firewall settings, or other differences that could cause things
that work at home to not work there, etc.
If you already have apache and php working at home, just give it a try. If
it fails, then focus on configuring SMTP and test with the sendmail command
until that works. Then you should be in business.
Jerry
"Adams-Blake Co." <at************@adams.takeme.out.-blake.com> wrote in
message news:bf**********@slb9.atl.mindspring.net...
This may be OT a bit, so maybe someone can point me in the right
direction.
I want to test a script that sends out an e-mail. I want to test it
locally on my Mandrake Linux 8.2 box.
It runs OK on my host (pair.com) but I have to upload it each time I want
to test it.
Is there something I need to do in order to test locally? Do I have to set
up an SMTP server? Is that hard? Anything else needs to be done? CAN any of
this be done... or is it worth the trouble?
Thanks for any pointers.
Al