suresh kumar wrote:
hello everybody,
                i am having one doubt in  sending mail
in 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('[EMAIL PROTECTED]','hi suresh','this is
test','From:[EMAIL PROTECTED]')):

        both from and to address are valid  but mail
is not receiving to [EMAIL PROTECTED],

  whether i have 2 configure any settings in php.ini,i
am looking for reply from any one.
A.suresh

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)

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

Reply via email to