sorry for this simple problem..but there is a problem...
my php code is..
<?php
mail("example@example.com","Hello World","Hi ..This is a start now wait for some great things","example.com");
?>
i get error message:
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\x\htdocs\j\wrox\afterchap6\firstmail.php on line 2
My php.ini file has following content:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = example@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "D:\x\sendmail\sendmail.exe -t"
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
pls help me..
thanks...😕