why dont you read the manual, thats what its for.
I know you can specify your smtp server setttings in your php.ini file.
so just set your smtp to the windows server address

from PHP.ini

[mail function]
; For Win32 only.
SMTP = smtp.myserver.com ; for Win32 only

; For Win32 only.
sendmail_from = [EMAIL PROTECTED]; for Win32 only

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =


hope this helps

Angelo Zanetti
Z Logic
[c] +27 72 441 3355
[t] +27 21 464 1363
[f] +27 21 464 1371
www.zlogic.co.za



Balwant Singh wrote:

i want to use the SMTP server which is already exists. pls. give more details..........

with best wishes
balwant

On Tue, 2005-04-19 at 15:59, Ken wrote:


On 19 Apr 2005 15:04:08 +0530, Balwant Singh <[EMAIL PROTECTED]> wrote:


hi,

I am using FEDORA 3 and PHP. I want to send email to outside by my above
mentioned linux machine through PHP. For this i want to use my SMTP
sever, which is on a WINDOWS machine

Please inform what setting to be done in php.ini or any other file to
send the email.

with best wishes
balwant

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




erm, isn't it easier to have the smtp on your fedora box instead...?





Reply via email to