On Friday 16 August 2002 01:30, FoxRings / Michael wrote:
> I want to send mail under win98,
> and I know that this is the proper solution...
> Hope this work:
> --> edit your php.ini and type your SMTP server
> [mail function]
> ; For Win32 only.
> SMTP = yoursmtpserver.com
> Jhon R. Putra
> But my problem is how to get an indefinate number of semi-computer
> illeterate persons to edit that file... Not going to happen.
> So I need to do something in my code. Even if I rewrite the php.ini file
> from my install script.
You can use the phpmailer class (www.phpclasses.org). This is a complete
'self-contained' class for sending mail. It does not depend on the php.ini
settings as you can select which smtp server(s) to use from within class.
> I am using a copy of Jana Server (http://www.janaserver.de/) for this
> Also of note. I searched on the Jana Forum and it appears that Jana is not
> a full smtp server, but requires a secondary server to send to.
> So all I need now is a program that will install on 98 that is a stand
> alone smtp server. But if it will not execute .php scripts that is all
> right as long as I can get Jana to send to this secondary program that can
> do the actual sending of the mail.
> I need to do this because the mail is going out in bulk. (much to my utter
> dismay, but it's not my company. 'My job is not to ask why. But to do and
I would suggest that you forget about the added complications of setting up
your own smtp server and just point the above class to use your ISP's smtp
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
"With molasses you catch flies, with vinegar you catch nobody."
-- Baltimore City Councilman Dominic DiPietro
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php