Mail is not working in kirby

here is my php.ini file

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =
sendmail_path =/usr/sbin/sendmail -t -i -f  dharmeshkashyap@jacksolutions.biz

please check if is there any mistake here.

email() function will furn automatically or for that i need to define something.?