Click to See Complete Forum and Search --> : php and vb


nasser
07-24-2001, 11:51 AM
How can I make my PWS server send email ?
I know I have to do some changes in the php.ini file .

Any help

Anon
07-24-2001, 11:53 AM
no you dont, PWS is an HTTP server, you need an SMTP server... find a free one, install it, configure and use mail() function

nasser
07-24-2001, 12:01 PM
Ok we do have SMTP server in our LAN
my PC is part of a LAN in my company intranet
we use MS Exchange .
I can get the SMTP address from IT deprtment
but then what ?

Anon
07-24-2001, 12:10 PM
change SMTP var in your php.ini

nasser
07-24-2001, 12:17 PM
Thank you , can you please add more about what should I change if I got the SMTP address eg.(12.33.1234) in the php.ini below ?

[mail function]
SMTP = localhost ;for win32 only
sendmail_from = me@localhost.com ;for win32 only
;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i')

Anon
07-24-2001, 12:30 PM
just set SMTP to that address

nasser
07-24-2001, 12:36 PM
I'll try . hope it works
Thanx for your help alexdg .

nasser
07-25-2001, 11:58 PM
I think I’m little bit confused here or I didn’t made the image clear !
The mail server is installed in the company server not mine , My server has PHP/Mysql/PWS . and my server is part of the LAN any one can access my home page and see the PHP applications running smoothly but my PWS can’t send e-mail .
Dose that mean that PHP should be installed on my company server in order to let PHP use mail function ?