Re: email through PHP

From: Date: Tue, 19 Apr 2005 11:50:27 +0000
Subject: Re: email through PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-213339@lists.php.net to get a copy of this message
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 = me@myserver.com; 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 <balwantsingh@indoasian.com> 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...?


« previous php.general (#213339) next »