How can I make my PWS server send email ? I know I have to do some changes in the php.ini file .
Any help
no you dont, PWS is an HTTP server, you need an SMTP server... find a free one, install it, configure and use mail() function
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 ?
change SMTP var in your php.ini
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')
just set SMTP to that address
I'll try . hope it works Thanx for your help alexdg .
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 ?