Iam receiving the following error when I want to sent email using php script.

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in d:\apache\htdocs\ims\ticketstaff\type_in_ticket2.php on

How can I solve this problem? My settings in php.ini and mail script are as follows;
Note Iam using 4.3 php

my php.ini file mail function declaration are as follows;

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = mobzam@web.org.zm

and my php mail script is as follows;

mail($adminemail, "TICKET SUBMITTED BY $LnameandFname", "$message","$headers","From:$zramail2\n");