Re: doubt in mail function
| From: | Barry | Date: | Mon, 13 Feb 2006 10:23:02 +0000 |
| Subject: | Re: doubt in mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230303@lists.php.net to get a copy of this message | ||
suresh kumar wrote:
hello everybody,Is on the windows machine a mail server installed? Does this code work on your linux machine? Be sure mail sending is allowed on your windows machine. sendmail_from NULL PHP_INI_ALL sendmail_path NULL PHP_INI_SYSTEM Those ini variables must be set correctly in order to send mail on windows. Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)i am having one doubt in sending mailin php.in my company our mail server is in windows,but my php code for mail function in linux,i set the code as if(@mail('sureshkumar.A@gi.com','hi suresh','this is test','From:sakthi@gi.com')):both from and to address are valid but mailis not receiving to sureshkumar.A@gi.com, whether i have 2 configure any settings in php.ini,i am looking for reply from any one.A.suresh